Testing Rest API with Postman
What is Rest API.
A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST, and DELETE data.
What is the Architecture of API
- HTTP headers used for authorization and generation of token it also has content-type mostly as application/JSON
- HTTP Request (POST,GET,PUT,DELETE )
- Status Code/ Response Code :2XX,3XX,4XX,5XX
- Open a Google chrome
- Click on: https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en
- Launch app
- Enter the URL of the API in the URL textbox
- Select the type of Http method like POST
- Provide the Header
- Now click on send
- You will get a response if the API is up and Working
Still in the process of writing this article, Sorry for any inconvenience. Happy Reading.
Comments
Post a Comment