24 C
Jaipur
Saturday, October 24, 2020

Postman – Make APIs development faster & easier

Must read

2020 World Series live stream: how to watch Dodgers vs Rays game 4 from anywhere

Over the next few days,  the year's shortened MLB season will come to an end and baseball will crown a new champion - but...

Michigan vs Minnesota live stream: how to watch Big Ten college football tonight

Big Ten college football is back, and the Michigan Wolverines vs Minnesota Golden Gophers game - one of the oldest rivalries in American college...

How to watch Khabib vs Gaethje: live stream UFC 254 right now

It's Fight Island's final bout of the year, and what a clash to be ringing that final bell to. UFC 254 plays host to...

How to watch Khabib vs Gaethje: live stream UFC 254 right now

It's Fight Island's final bout of the year, and what a clash to be ringing that final bell to. UFC 254 plays host to...

If you are developing an API, you must know about Postman. Postman is a very useful tool for testing APIs along with your team of developers. The software makes it easier to run all the necessary tests before publishing the APIs.

Postman launchpad

Postman launchpad is the collection of features that you can use right from when you open up the app. You can create individual requests, create API, API collection, and environment.

Postman launchpad
Postman launchpad

Create API

Creating API makes it super easy to develop API. Just click the ‘Create a new API’ from the launchpad and it’ll open the following dialogue box asking for the basic information regarding the API.

Enter the API name, version, Schema type, and Schema format.

Create new API
Create new API

Once the API is created, it’ll be listed in the sidebar. Click the API to perform actions on the API.

Postman APIs list
Postman APIs list

Create a Postman schema. To easily create APIs endpoints, it creates a test Schema by default. Change it to create the URLs as per your project demands.

Edit schema Postman
Edit schema Postman

After the schema is ready, generate collections by clicking the “Generate Collections” button as highlighted above.

Create API collection
Create API collection

This will generate the collections of routes. As you can see in the image below, there is a collection of task manager api.

Postman collections routes
Postman collections routes

Clicking each URL will allow you to customize your request, and send it to the server. You can change request’s parameters, send auth credentials, custom headers, body data etc.

Add query params to url
Add query params to url

Once the request is sent, the output returned back from the server is previewed below.

Create request Postman
Create request Postman

Download & Install Postman on Linux

It is available for all major platforms including Linux. Download the tar file from the official website. Uncompress it and run Postman.

Run Postman
Run Postman
Postman sign in screen
Postman sign in screen

Install Postman snap

If your distribution supports snap apps, you can install it from snap store. If your Linux distribution does not support snap apps, then install it using the following command –

On debian or Ubuntu based distributions –

sudo apt install snapd

Install snap on Fedora distributions –

sudo dnf install snapd

Install snap on CentOS –

First install EPEL repository.

Install EPEL repository on CentOS 8 –

sudo dnf install epel-release
sudo dnf upgrade
sudo dnf install snapd

Install EPEL repository on CentOS 7 –

sudo yum install epel-release
sudo yum install snapd

Enable snap communication sockets

sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap

Install from snap store

Or install it snap from command-line –

sudo snap install postman

Source link

- Advertisement -

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

2020 World Series live stream: how to watch Dodgers vs Rays game 4 from anywhere

Over the next few days,  the year's shortened MLB season will come to an end and baseball will crown a new champion - but...

Michigan vs Minnesota live stream: how to watch Big Ten college football tonight

Big Ten college football is back, and the Michigan Wolverines vs Minnesota Golden Gophers game - one of the oldest rivalries in American college...

How to watch Khabib vs Gaethje: live stream UFC 254 right now

It's Fight Island's final bout of the year, and what a clash to be ringing that final bell to. UFC 254 plays host to...

How to watch Khabib vs Gaethje: live stream UFC 254 right now

It's Fight Island's final bout of the year, and what a clash to be ringing that final bell to. UFC 254 plays host to...

US sanctions Russian institute linked to dangerous malware – Latest News

Washington imposed sanctions on a Russian research institute tied to the development of a dangerous computer program capable of causing catastrophic industrial damage, a...