How to create and send POST requests in Postman?
Last Updated :
29 Jul, 2024
Postman is an API(application programming interface) development tool which helps to build, test and modify APIs. It can make various types of HTTP requests(GET, POST, PUT, PATCH), saving environments for later use, and convert save the API to code for various languages(like JavaScript, and Python). In this article, we will learn how you create and send GET requests in Postman.
Prerequisites:
Steps to create and send POST requests in Postman
Step 1: After downloading and installing the Postman, open the software. Add a new Collection and give it a name like "GFG".

Step 2: When you hover, on the name of your collection, 3 dots will appear. Click on those 3 dots, and then click on "Add new request".

Step 3: You need select "POST" request from the dropdown down menu as shown below.

Step 4: Now You can simply paste the API in the space provided and click on Send. Output will be shown in the body with the status code; 201 (Created). Note: You will to pass the body of the object .
How to pass Body:
Lets suppose , our object body is JSON . Then select "Body -> raw -> JSON " as shown below

Step 5: Then hit the Send button.
Example
Lets suppose we can an API:
https://jsonplaceholder.typicode.com/users
We will send a POST request, with an object body
{
"name": "Nikita",
"username": "nikitamehrotra99",
"email": "nikz@gfg",
"address": {
"city": "Noida",
"zipcode": "300005"
},
"phone": "123456",
"website": "https://auth.geeksforgeeks.org/user/nikitamehrotra99"
}
Output:
Similar Reads
How to create and send GET requests in Postman? Postman is an API(application programming interface) development tool which helps to build, test and modify APIs. It has the ability to make various types of HTTP requests(GET, POST, PUT, PATCH), saving environments for later use, converting the API to code for various languages(like JavaScript, Pyt
1 min read
How to create a new request in Postman? Postman is a development tool that is used for testing web APIs i.e. Application Programming Interfaces. It allows you to test the functionality of any application's APIs. Almost every developer uses Postman for testing purposes. We can create any type of HTTP request in it such as GET, POST, PUT, D
2 min read
Create and Send API Requests in Postman Postman serves as a flexible tool, simplifying the system of crafting and checking out API requests. In the world of software, APIs(Application Programming Interfaces) are the constructing blocks for packages to speak with each other. In this article, you will find out how Postman turns into your go
4 min read
How to Use Postman for Sending POST Requests? Understanding how to send a POST request in Postman is a crucial skill for any developer or tester. POST requests are typically used for submitting data to a server, such as creating new resources or uploading files.What is a POST Request?A POST request is an HTTP request method used for sending dat
3 min read
How to perform DELETE requests in Postman? Postman is an API(application programming interface) development tool which helps to build, test and modify APIs. It can make various types of HTTP requests(GET, POST, PUT, PATCH), save environments for later use, and convert the API to code for various languages(like JavaScript, and Python). In thi
2 min read