How to setup collection in postman

Create collection in postman

What is Postman automate?

Postman is a collaboration platform for API development. Postman’s features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

Install Postman

The postman app is free for every os. It will automatically deduct your OS when you visit the download link. You can download and install the Postman app by using the link.

Create a collection for your APIS

After a successful download, open the Postman app and follow the below steps.

1. Click on “New”

2. Select Collection

3. Enter your collection name, example Demo

4. Add folder and give its name, example USER API

5. Click on “three dots” and “Add Request”, which can be GET, POST, PUT, DELETE. Example GET USER.

In this way, you can create your collection and create folders to manage your APIs in a better way.

You can also create the environment variables for your APIs. These variables will reduce your time by changing values manually. For example, you have three environments develop, staging and production.

For all the environments endpoints are the same but of course, domains are different. So you can set an environment variable as a domain URL. Which will automatically change its value according to the current environment.

Please follow and like us:
error0
fb-share-icon20
Tweet 20
fb-share-icon20

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *