POST Requests Online

Post requests to the server and check server responses. Fully Online; no desktop app needed. Test Server endpoints by sending HTTP POST, GET, PUT, and HEAD requests directly from your browser. Create PHP, Python, Java, Curl, and JavaScript code snippets from your requests with one click. Share your HTTP requests online, showcase your work, or discuss with colleagues and friends.
Beta Try the new online ReqBin App — Redesigned UI. Swagger support Open app.reqbin.com →

Query Params

The authorization header will be automatically generated when you send the request. Read more about HTTP Authentication.

Headers

HTTP Message

Updated:

The best tool for posting HTTP requests online

  • Make HTTP POST, GET, PUT, PATCH, DELETE, HEAD, and OPTIONS requests online
  • See server response content and headers
  • Get detailed request and response timings
  • Share and discuss your requests online
  • Clean UI and easy to use
  • It's free

What is an HTTP POST request?

An HTTP POST request sends data to a server inside the message body rather than in the URL. The body has no practical size limit, it does not land in server access logs or browser history, and browsers do not cache the response. That is what separates POST from GET.

POST is not idempotent: sending the same POST twice usually creates two records. PUT is idempotent — it replaces a resource at a known address, so repeating it changes nothing. Use POST to create, PUT to replace.

What does a POST request consist of?

Three parts: the request line, the headers, and the body. The request line names the method, the path, and the HTTP version. Content-Type tells the server how to read the body, and Content-Length gives its size in bytes.

Raw HTTP POST Request
POST /api/orders HTTP/1.1
Host: example.com
Content-Type: application/json
Content-Length: 42

{"customer": "Jason Sweet", "quantity": 1}

ReqBin builds this request for you: enter the URL, select POST, put the body on the Content tab, and pick the Content-Type. Both the raw request and the server's raw response are shown.

How do I post requests online?

To send a GET request to the server, simply enter your URL, select the GET method from the dropdown list, and click Send. If your request requires authorization, enter your credentials on the Authorization tab. To make a POST request online, select the POST method from the dropdown list and enter the POST data on the Content tab. Here you can also select Content-Type for your POST data.

Can I send HTTP requests to local endpoints?

Yes, you can post HTTP requests to local endpoints (localhost and 127.0.0.1) and servers on your local network using the ReqBin online HTTP client. To do this, you need to add the ReqBin Google Chrome Extension to your browser using this link.

Will I have CORS issues when sending requests to my server?

No, you won't have CORS (cross-origin) issues when sending requests to your server, and you won't need to make any changes to your server code such as adding the Access-Control-Allow-* HTTP headers. You can post requests to your server directly from your browser without any additional action!

See also

POST Requests using PHP, POST Requests using JavaScript POST Requests using Python