Postman Getting Started

Introduction:

postman is a tool which we used to get a response from an API request means when we make a request from a route in our application then to see what response we get from that particular route we used postman.

we can use different types of requests provided like

GET http://127.0.0.1:5000/ 
PUT http://127.0.0.1:5000/
POST http://127.0.0.1:5000/
DELETE http://127.0.0.1:5000/

GET REQUEST

Above is example of GET request which simply returned data from database of a user

POST REQUEST

Above is example of POST request where we put data of a user in database

PUT REQUEST

Above is example of PUT request where we update data stored in our database

DELETE REQUEST

Above is example of DELETE request where we delete data from our database

Postman API Documentation Builder

Postman has an advanced feature where a user can build proper documentation of their API with the respected URL, request, response and body for creating your API documentation the user first have to register to postman

https://identity.getpostman.com/login?continue=dashboard%3Fevent%3D

For creating of API documentation go to the advanced tab in postman and select documentation

Then add all the routes thiere description methods , status code which is mostly 200 and response body which is optional

the second step is to configure your documentation where you add name and description of your documentation

Then your documentation is created

Now in postman if you have to share your created documentation you have to create a URL link for that which can be done by clicking on your created collections then select share collection then go on Get link under there generate a link for your collection

Now to see your link open your postman app and then select import in there select import from link there enter the URL you get from Get link option and past it and it will import the required documents under the Collections Tab

Note that if you paste the link in any web browser it will only return a json response so please use the postman application

Now you are done with use of postman different features

excellence-social-linkdin
excellence-social-facebook
excellence-social-instagram
excellence-social-skype