Postman - Make APIs development faster & easier

If you are developing an API, you must know about Postman. Postman is a handy 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 a collection of features that you can use when you open up the app. You can create individual requests, create API, API collection, and environment.

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

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

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

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

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 APIs.

Postman collections routes

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

Add query params to URL

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

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
Postman sign in screen

Install Postman snap

If your distribution supports snap apps, you can install them from the snap store. If your Linux distribution does not support snap apps, then install them 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 the 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