MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

How to Setup Postman in Windows and Mac.

The first step is to get Postman. Now Postman is a little program, or a Chrome extension to be precise, which allows you to access RESTful APIs in a very convenient way, with a graphical user interface and an easy way to send data and see response data.

Chrome Web Store page for the Postman extension with the Add to Chrome button

As you see on this web page, getpostman.com, you can easily click on Chrome App in order to be taken click on Chrome App in order to be taken
to the Chrome extension manager here, and in my case I already got it, and yes this is in German, but you would just click here to install this app
in your Chrome browser. Now if you’re on a Mac you will also have the option of downloading the Mac app, but on Windows make sure to install
Chrome at this application, this extension here. Once Postman is installed and you launch it, you should see something like this,

post man setup

This is the interface with which we will work a lot throughout this course, and which allows you to send requests to RESTful APIs, It looks a bit like a browser with different tabs here, and this bar to enter a URL. Notice that you have a drop-down on the left of the top bar, which allows you to specify
different types of HTTP requests you want to send, and this will become important throughout this article where we will not only send Get request but also Post, Put, Patch, and much more,

Postman request method dropdown listing GET, POST, PUT, PATCH, DELETE and other HTTP methods

Below This bar you get a possibility to specify some headers you want to send with a request, or if appropriate for example, the Post
request calls a body, So some data. You can there choose raw data to basically, for example:-

Postman GET request to Google geocode API for New York with JSON response, status 200


send JSON formatted data by simply typing it here. Back to the Headers. What I want to do first is I want to set the Content-Type header, and I will
set it to application/JSON. Next, I want to access the Google location API to have an example for such a RESTful service, and I will set my
request type back to Get. Now the URL I’m going to use is the following, I’ll request it via https, then maps, googleapis.com/maps/api,
then geocode/JSON?, and then address =. Now here you may enter the address you want to look up. Let’s say it’s New York, Then you would
enter New, and then percentage sign 20York, the percentage sign 20 of course represents whitespace, and then with a Get parameter selected
and click send.

Now what you should see is this result here, and you can switch between different ways of displaying it, for example, Preview to have it render like an HTML page, not very readable, Raw to have the raw format received, or Pretty, which also has some highlighting here going on. As you can see what we get back is JSON-formatted data, where we have all our results with New York City here, and so on. And you can of course try this out for various locations

Postman Preview tab showing the unformatted JSON geocode response for New York City

You want to try out here. So we got this JSON formatted data back just by sending this request to Google’s RESTful service here, and this is
what a RESTful service typically does, it takes you request and returns you some Data. now RESTful services, which also takes POST requests
of course, also can be sent data, again by switching this to POST, and then specifying the data here, Makes sure you click on raw or JSON here
here, and then just enter your JSON string, THis is how you use Postman, but here you also saw how to access such a RESTful API, at the example
of Google’s location API, You also see which data we get returned, and once all that is great,

You Can download Postman Desktop application from here.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals

Related Posts

Top 10 API Testing Tools: Features, Pros, Cons & Comparison

Introduction Application Programming Interfaces (APIs) are the backbone of modern software systems. From mobile apps and SaaS platforms to microservices and cloud-native architectures, APIs enable seamless communication…

Read More

Best Tools for API Documentation (Comprehensive Guide)

🔹 Best Tools for API Documentation (Comprehensive Guide) 🚀 API documentation is essential for ensuring that developers can easily understand and integrate APIs. The best tools help…

Read More

Most Popular API Integration Tools

API integration refers to the process of connecting different software applications or systems to enable them to communicate and exchange data with each other. It’s like building…

Read More

Best API Design & Development Tools

API design and development is the process of creating well-defined interfaces that allow different applications to communicate and exchange data with each other. It involves planning, defining,…

Read More

How to Use Postman API Client.

This is the interface with which we will work a lot throughout this course, and which allows you to send requests to RESTful APIs, It looks a…

Read More

Use Postman in Laravel Project.

So here’s what we’re going to build, a RESTful service, which allows you to sign up as a user, and then create meetings, sign up for meetings,…

Read More