Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

POSTMan is required

, 10 Feb 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
A Chrome app which let’s you help test and document APIs.

Though it looks like a job posting but in developer’s world, it is a useful tool available as a chrome extension. When my friend referred it, I tried it and liked it so I recommend it every other developer. At least, many hours of efforts can be saved and obviously this is what we require from every piece of code.

What is POSTMan?

It is a Chrome app which let’s you help test and document APIs. I think coders might know APIs but for new developers, I have included the meaning of APIs by an example.

What is API?

API stands for Application Program Interface. In high level terms, we express an API as a bridge via which one Internet application can exchange information with another application . Application Program Interface standards include a set of routines, protocols, and tools for building software applications.These standards are discussed and finalized by developers team to create to an API for their program.

For example: We can have ratings and reviews or ecommerce APIs developed by companies which can be integrated in our application. It is an interface that queries their database to help programmers in the integration of their applications.  These consists of specialized Web services and programs and specialized scripts that can be consumed or called in our applications and get mixed with our websites look and feel.

Why POSTMan?

Before I heard of POSTMan, we were doing full length coding even to test these webservices or APIs at a premature stage. If the webservice is corrupted or not returning proper results, it was only discoverable only after the coding is finished.

With POSTMan, we can verify these API calls before hand with just few clicks and it provides accurate result.

Let’s go through these tools.

Features of POSTMan

  • Create requests quickly.
    • Compact layout
    • HTTP requests with file upload support
    • Formatted API responses for JSON and XML
    • HATEOS support
    • Image previews
    • Request history
    • Basic Auth and OAuth 1.0 helpers
    • Autocomplete for URL and header values
    • Key/value editors for adding parameters or header values. Works for URL parameters too.
    • Use environment variables to easily shift between settings. Great for testing production, staging or local setups.
    • Keyboard shortcuts to maximize your productivity
  • Document and share APIs.
    • Use collections to organize requests.
    • Document requests inside collections. You can even store entire HTML notes. Postman uses Bootstrap so you can use it too to style your notes.
    • Download and share collections with your team of developers.

Installing POSTMan

There are two ways to install it

image

  • Go to Chrome extensions and Search for POSTMan and Add to chrome.

How to Use It?

  • Click on POSTMan and it will open this window.

image

  • Enter the request URL. Just to give an example, I have taken a Google maps API link available on code.google.com.

postman-send

  • On click of send, We received a JSON response.

We have two buttons available URL params and Headers. These two options can be used to add extra information to our call and receive a different response.

This request was served under Normal Tab. We have more tabs like Basic Auth and OAuth 1.0 to send the authorization header for improved security. Even we have a collections button to create a collection of sent requests.

I would suggest everyone to go through this tool, this is very beneficial for your projects. If you have more information about this tool, please share it with us and we can include it here.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Himanshu DS
Web Developer CodeSpread.com
India India
I am a regular developer working on c#,asp.net,sql,cms,digital marketing related sites. Through my blog, I am showing the non-technical part of our daily technical terms and processes which can be used to describe it to a layman.Sometimes I write basic technical posts also.
Follow on   Twitter

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150129.1 | Last Updated 10 Feb 2013
Article Copyright 2013 by Himanshu DS
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid