When you look up a record through an API, the server reports how it handled the request and returns any data it found. Postman on the Linux desktop lets you send an HTTP request and see the status and response body in the same window.
Postman's Lightweight API Client is available without a Postman account. A new HTTP request starts with GET, which suits a read-only endpoint that needs no credentials or request body.
Editing the URL leaves the previous response on screen until the next request finishes. The status and body from that new response tell you whether the server returned the record you asked for.
Steps to send a request in Postman:
Start with the Lightweight API Client open on a new HTTP request with GET selected, an empty URL field, and the Response pane below the request. Use a reachable, read-only HTTPS endpoint that returns JSON. Have its expected success status and a field value from the API documentation.
- Click the URL field beside GET.
An empty field shows Enter URL or paste text.
- Enter your endpoint's full HTTPS URL in the request field.
The pictured URL,
https://api.example.test/v1/books/1, belongs to a private test API. Use your own endpoint even if Postman suggests its echo service below the field. - Click Send to the right of the URL.
The response is ready to check when its status, time and size appear.
- Confirm that the response status is the one you expect for your endpoint.
For book 1, the status beside the response time and size is
200 OK. - Confirm that the JSON field in Body shows the value you expect.
For book 1, the
titlefield readsLearning HTTP.