Skip to main content
  1. Notes/
  2. Postman API Testing/

Making a GET Request

0xShakhawat
Author
0xShakhawat
Table of Contents

Making a GET Request
#

A GET request retrieves data from an API endpoint. It’s one of the most common HTTP methods. This section describes how to make a GET request using Postman.

Sending a GET Request
#

  1. Inside the collection, click “+ Add a request”.
    Add a request
  2. Name the request “get books”.
  3. Set the request method to GET.
  4. Set the request URL to https://library-api.postmanlabs.com/books.
  5. Click “Save” (Ctrl+S or Cmd+S).
    Save
  6. Click “Send.”

Viewing the Response
#

The response appears in the lower pane. It should be a JSON array of book objects. The specific books may vary as the database is live and updated by other users.

Viewing the response