whatsapp

Use Postman client for RESTful API testing

Share Blogs

Posted by admin on September 5, 2016

It is really important to test the RESTful API completely. However, since RESTful API uses many elements which cannot readily be passed from browser, hence we shall use browser plugin such as Postman for chrome to test API You can install Postman for free from chrome store. Once you have installed it, you can start the API testing Fun.

facebook

Next thing you need to select for the API call is, set the API endpoint and select the HTTP vfrom the Postman interface.

facebook

Since for many APIs you will need to pass Auth basic content to access pages that need authorization, see below image to pass the data

facebook

For some of the APIs (POST / PUT) etc, you will need to pass the JSON data. See below image to pass the data correctly

facebook

Most Important

Remember to select Content Type header, since without that the JSON data will not be parsed and API may not work

facebook
Share Blogs

Want to discuss your idea or project with us

Project Inquiry

Interested to Join Us?

Post Your Resume
we-are-hiring