Postman Request : Create ,Rename ,Delete HTTP Request

.

What is Request in Postman?

Request In Postman With Example


Types of HTTP Requests in Postman

  • Get
  • Post
  • Put
  • Patch
  • Delete
Note: Apart from the above HTTP request we have other request types.


URI (Uniform Resources Identifier)

https://reqres.in/api/users?page=2  //This URI

host/Domain:https://reqres.in

Path Parameter: api/users?

Query Parameter:page=2



How to create an HTTP request in Postman? (Inside Collection)

There are multiple ways to create the HTTP Request

To create a request in Postman follow the below steps.

I am using a sample API to create the request. For more samples or dummy APIs visit the website (https://reqres.in/).

Way 1

Steps: 1 Select the collection inside which you want to create a request.

Step: 2 Click on the Add Request option as shown in the figure.



Step 3: As soon as you click on the add request button an HTTP Get request will created with the default name "New Request" Change the request name Accordingly.



Way 2

Step 1 : Select the Collection inside which you want to create the request.

Step 2: Now Click on three Dots as shown in the figure.

Step 3: Click on the add request option.

Step 4: As soon as you click on the add Request option by default an HTTP request will be created. you can change the request type and request name accordingly.


Way 3

Step 1: Click on the New button.

Step 2: Now click on the HTTP Option as shown in the figure.


Step 3: Now Send the request and click on the save button.


Step 4: Now 

  • Change the request name.
  • Select the collection where you want to save.
  • Click on the Save button.



How do you delete HTTP requests in Postman?

To delete the request in Postman just follow the below steps.

Step 1: First select the request you want to delete.

Step 2: Now Click on three dots as shown in the figure.

Step 3: Now click on the delete button.


Step 4: Now Click on the delete button from the confirmation message.


As soon as you click on the delete button, the request will be deleted from the collection.


Hope!!! The above Tutorial on how to create a request in Postman is helpful for you...

Team,

QA acharya


Post a Comment

0 Comments