top of page
Search

Creating Collections and working with your first test request in Postman

If you haven't installed Postman yet, check Installing Postman.


Once you have installed Postman, your screen looks like this.


1. Click on the "+New" button, to create a new request or Collection.

Click on Request option to create a new request, enter a request name.


2. Your new request tab looks like this, It has options to select your method, textbox to enter URL, and tabs to specify params, Headers, test scripts etc.


2. To create a new collection, click "+New" again and select collection option from the available options.


3. Enter a collection Name and click "create" button.


4. Your created collection looks like this under New Collection tab. Click on the collection name and select "Add Request" option to add a new rest request.

Enter a request Name and click "save to Deckofcards" button. where DeckofCards is the collection you have created.

You can now see, the requests added under your collection.





5. In your request tab, enter the endpoint in the textbox and hit send to see the response in your response tab.


Here, we are using a public Rest API,

https://deckofcardsapi.com/api/deck/new/


Congratulations!!! you have created your first test request in postman.



15 views0 comments

Recent Posts

See All

Minimum Deletions to Make Character Frequencies Unique

A string s is called good if there are no two different characters in s that have the same frequency. Given a string s, return the minimum number of characters you need to delete to make s good. The f

Smallest String With A Given Numeric Value

The numeric value of a lowercase character is defined as its position (1-indexed) in the alphabet, so the numeric value of a is 1, the numeric value of b is 2, the numeric value of c is 3, and so on.

bottom of page