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 #
- Inside the collection, click “+ Add a request”.
- Name the request “get books”.
- Set the request method to
GET
. - Set the request URL to
https://library-api.postmanlabs.com/books
. - Click “Save” (Ctrl+S or Cmd+S).
- 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.