Getting started with Postman

Hirudini Udugama
3 min readJan 4, 2022

REST API — Response Codes and Statuses

200 OK | The request was successfully completed

201 Created | A new resource was successfully created.

400 Bad Request | The request was invalid.

401 Unauthorized | Not include an auth token or the auth token was expired.

403 Forbidden | The client did not have permission to access the requested resource.

404 Not Found | The requested resource was not found.

500 Internal Server Error | Not completed due to an internal error on the server side.

503 Service Unavailable | The server was unavailable.

What is Postman?

Postman is an API client. It is used for develop, test share and document APIs.

Main Features

  • Scalability
  • Accessibility
  • Usage of Collections
  • Usage of Environments
  • Usage of Variables
  • Creation of Tests
  • Automation Capability
  • Debugging Capability
  • Continuous Integration

How to download postman?

https://www.postman.com/downloads/

Postman UI

Mainly we can see the following elements in Postman UI.

  • New : Create Request, Collection, Environment and other advanced blocks
  • Import : Import already created Collections and Environment as file, folder, link or raw test
  • Runner : Execute automation tests
  • Open New : Open in new tab, postman window or runner window
  • My Workspace : Create individual or team workspace
  • Invite : Invite others
  • History : Maintain a track of previous actions
  • Collections : User defined directory structure to organize tests
  • Plus (+) icon : To add new request

Can select all available REST API types such as GET, POST..

  • Enter request URL: Point the target endpoint
  • Send: To send request to target endpoint
  • Request Tab : Title of the working request
  • HTTP Request : List of request types
  • Request URL : Define target end point
  • Save : Save workspace changes
  • Params : Define request parameters
  • Authorization : Define required authorization credentials (eg: User name, Password) for target APIs
  • Header : Define request header details
  • Body : Define actual request body. Basically use in POST request type
  • Pre-request Script: Setup requests run prior to actual request
  • Tests : Setup requests run parallel to request

Once you downloaded and installed postman you will see this interface.

First we can create a workspace on postman.

Here you can simply click on the “workspace” drop down and click on the “New workspace” button.

We can give a name for the workspace like the above.

Once we create a workspace we will navigate to the following interface.

Let’s see how to work with APIs in postman

--

--