# Post Requests

In addition to sending GET requests, the Website Unblocker supports also sending POST requests to a destination web site.&#x20;

**Example 1 - Sending a standard POST request**

To send a standard POST request using curl, you can use the following command:

```bash
curl -k -x username:password@unblocker.netnut.io:5959 [example.site.com] -d "param1=value1&param2=value2"
```

* <mark style="color:purple;">`-d "param1=value1&param2=value2"`</mark>: The data being sent in the POST request.

**Example 2 - Sending a POST request with JSON data**

To send a POST request with JSON data using curl, you can use the following command:

```bash
curl -k -x username:password@unblocker.netnut.io:5959 [example.site.com] -d '{"test2": "value1", "param2": "value2"}' -H 'x-netnut-custom-header: true' -H "Content-Type: application/json" -k -v
```

* <mark style="color:purple;">`-d '{"test2": "value1", "param2": "value2"}'`</mark> : The JSON data being sent in the POST request.
* <mark style="color:purple;">`-H 'x-netnut-custom-header: true'`</mark> : Set the custom header for the request.
* <mark style="color:purple;">`-H "Content-Type: application/json"`</mark> : Specifies the content type of the data being sent as JSON.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.netnut.io/netnut-documentation/netnut-scraper-apis/website-unblocker/proxy-integration/post-requests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
