POSTMAN

by Vibrant Publishers

Introduction

 

APIs are the heart of every web service. When we deal with enterprise web services, there will be requirements for building thousands of APIs and it is not a simple task for the developer to create all of them manually. To resolve this problem there are many API tools available which will handle the complete lifecycle of an API. In this article, we will discuss such a tool called POSTMAN.

 

POSTMAN

According to the official website (www.postman.com), postman is a collaboration platform for API development. Yes, it allows multiple people to come together and work on creating APIs for their applications. Apart from this, it’s a platform that will take care of all the processes involved in an API creation and management.

 

Use of POSTMAN in the API world

As mentioned above the platform takes care of all requirements in API development. Let us take a look at some of the features the postman offers:

 

  1. Accessibility: The platform is a hosted service and all you need to start using it is an account in postman. You can either use the browser to login to postman or use their desktop app and start working.

 

  1. Organized: The APIs that you create with postman can be organized well with the feature called collections. They can be placed in folders and subfolders based on your projects.

 

  1. Monitoring: Another exciting feature of the postman is the power to monitor the APIs that you have created. This will make your life much easier due to the instant notification of failures in any of your API services.

 

  1. Testing: Nothing is solid unless you test it thoroughly. Postman offers both manual and automated testing of your APIs. You can define test cases and discuss with your team over the platform itself and put the tests into action. Also, these tests can be integrated into your CI/CD pipeline.

 

  1. Versioning: You might want to provide APIs for different customers that utilize your services. Or there can be different releases of the same API whenever your application releases new versions. In these cases versioning your API is important. The postman platform offers better tagging and versioning provisions that you and your team can utilize effectively.

 

Getting started with POSTMAN

Inorder to use postman, you need to sign up for an account first. Below is the login/signup screen of the postman.

 

 

 

 

Once you have an account you can download the postman application and start building your APIs, Test cases, etc.

 

In postman you have the choice of selecting different plans based on your requirement and pricing. Initially you will be provided with a Free Plan where there are certain limitations on the number of API that you can create and manage. When your requirements are high and there is a team working with you, then it’s good to choose a Team, Business or Enterprise plan as per your convenience. Below is the screenshot of different plans that Postman offers. 

 

 

 

Using POSTMAN

After successfully creating an account in postman, you can download the client application on your desktop and start working with it.

 

Once you login to your postman application, the dashboard will look like the one below.

 

 

 

 

Here you can create your APIs, put them into collections and you can perform monitoring, testing, etc. on your APIs. The UI is very intuitive and can be learned quite quickly.

 

You can create APIs based on JSON or YAML schema formats. Also, there is support for Open API, GraphQL and RAML schemas.

 

There is a very detailed tutorial on how to use postman on their official website: https://learning.postman.com. You must pay a visit here if you want to learn about the platform in detail.

 

Summary

Postman is a platform to create and manage the lifecycle of  APIs. It is versatile and has a lot of features including team collaboration and monitoring etc. Using postman for your project will not only save time but will provide a clean and neat way of managing your APIs as well.