- Postman - Discussion
- Postman - Useful Resources
- Postman - Quick Guide
- Postman - OAuth 2.0 Authorization
- Postman - Run Collections using Newman
- Postman - Newman Overview
- Postman - Sessions
- Postman - Cookies
- Postman - Mock Server
- Postman - Assertion
- Postman - Collection Runner
- Postman - Parameterize Requests
- Postman - Create Collections
- Postman - Create Tests for CRUD
- Postman - DELETE Requests
- Postman - PUT Requests
- Postman - POST Requests
- Postman - GET Requests
- Postman - Workflows
- Postman - Authorization
- Postman - Environment Variables
- Postman - Environment Setup
- Postman - Introduction
- Postman - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Postman - GET Requests
A GET request is used to obtain details from the server and does not have any impact on the server. The GET request does not update any server data while it is triggered. The server only sends its Response to the request.
Create a GET Request
Follow the steps given below to create a GET request successfully in Postman −
Step 1 − Cpck on the New menu from the Postman apppcation. The Create New pop-up comes up. Then cpck on the Request pnk.
Step 2 − SAVE REQUEST pop-up comes up. Enter the Request name then cpck on Save.
Step 3 − The Request name (Test1) gets reflected on the Request tab. We shall then select the option GET from the HTTP request dropdown.
Step 4 − Enter an URL -
in the address bar and cpck on Send.Response
Once a request has been sent, we can see the response code 200 OK populated in the Response. This signifies a successful request and a correct endpoint. Also, information on the time consumed to complete the request (223 ms) and payload size (20.75 KB) are populated.
On hovering over the response time, we can see the time taken by different events pke DNS Lookup, SSL Handshake and so on.
On hovering over the payload size, the details on the size of response, headers, Body, and so on are displayed.
The Response Body contains the sub−tabs − Pretty, Raw and Preview. The Pretty format shows color formatting for keywords and indentation for easy reading. The Raw format displays the same data displayed in the Pretty tab but without any color or indentation.
The Preview tab shows the preview of the page.
Raw tab
The following screen will appear −
Preview tab
The following screen will appear −
The Response also contains the Cookies, Headers and Test Results.
Advertisements