An HTTP POST request is a method used to send data to a server to create or update a resource. Unlike a GET request, which retrieves data by appending it to the URL, a POST request carries its data in the request body, making it more suitable for sensitive or large amounts of information.
Method: Post
https://jsonplaceholder.typicode.com/posts
Request Body:
{
"title": "My first post",
"body": "This is a sample post",
"userId": 1010
}
Response Body:
{
"title": "My first post",
"body": "This is a sample post",
"userId": 1010,
"id": 101
}
Important: the resource will not be really updated on the server, but it will be faked as if
Understanding Response:
When you send a POST request:
Status Code 201 → Data created successfully
Response Body → Shows the data saved on the server
Download
0 formats
No download links available.
5. POST Request Explained | Send Data Using Postman | Step by Step | NatokHD