This repository contains a Postman collection for the Simple Book API.
The collection includes the following API requests:
Status- GET/statusList of Book- GET/books?type=fiction&limit=2Single Book- GET/books/:IDAPI Authentication- POST/api-clients/Submit an order- POST/ordersGet all orders- GET/ordersUpdate an order- PATCH/orders/:orderIdDelete an order- DELETE/orders/:orderId
The collection uses the following variables:
{{url}}- Base API URL{{token}}- Bearer token for authenticated requests
Default values stored in the collection:
url:https://simple-books-api.glitch.me
- Open Postman.
- Import
Simple Book API.postman_collection.json. - Update or verify the collection environment variables if needed.
- Run individual requests or use a Postman Collection Runner.
Submit an order,Get all orders,Update an order, andDelete an orderrequire bearer token authentication.API Authenticationcreates an API client and returns a token that can be used for order requests.Single Bookuses a path variable:IDwith a default value of1.Update an orderandDelete an orderuse a path variable:orderIdwith sample values.