> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST Requests

> Site Unblocker POST Requests

In addition to facilitating GET requests, Site Unblocker also enables you to utilize POST requests to a web endpoint of your preference. This functionality allows you to send data to a specific website, resulting in a modified response from the target.

<Note>
  When sending a body with a POST request, the correct `Content-Type` header should be provided.
</Note>

<CodeGroup>
  ```shellscript cURL theme={null}
  curl -X POST -k -v -x unblock.decodo.com:60000 'http://httpbin.org/post' \
       -U 'USERNAME:PASSWORD' \
       -H 'Content-Type: application/json'
       -d '{"foo": "bar"}'
  ```

  ```python Python theme={null}
  import requests

  proxies = {
      'http': 'http://USERNAME:PASSWORD@unblock.decodo.com:60000',
      'https': 'http://USERNAME:PASSWORD@unblock.decodo.com:60000'
  }

  data = {
      "Your POST data": "data"
  }

  response = requests.request(
      'POST',
      'http://httpbin.org/post',
      verify=False,
      proxies=proxies,
      data=data
  )

  print(response.text)
  ```

  ```javascript Node.js theme={null}
  import fetch from 'node-fetch';
  import createHttpsProxyAgent from 'https-proxy-agent'

  const username = 'YOUR_USERNAME';
  const password = 'YOUR_PASSWORD';

  const agent = createHttpsProxyAgent(
    `http://${username}:${password}@unblock.decodo.com:60000`
  );

  process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;

  const headers = {
    'Content-Type': 'application/json'
  }

  const body = {
    'Your POST data': 'data'
  };

  const response = await fetch('http://httpbin.org/post', {
    method: 'get',
    body: JSON.stringify(body),
    headers: headers,
    agent: agent
  });

  console.log(await response.text());
  ```
</CodeGroup>

***

<Columns cols={2}>
  <Card title="Support" href="https://direct.lc.chat/12092754" cta="Let's chat!">
    Need help or just want to say hello? Our support is available 24/7. \
    You can also reach us anytime via email at [support@decodo.com](mailto:support@decodo.com).
  </Card>

  <Card title="Feedback" href="mailto:feedback@decodo.com" cta="Share feedback">
    Can't find what you're looking for? Request an article! \
    Have feedback? Share your thoughts on how we can improve.
  </Card>
</Columns>
