Edition 1 · PDF · 61 pages
REST API Design Cheat Sheet
22 topic sections for API design interviews and API reviews: methods, status codes, auth, pagination, caching and security. 34 real HTTP exchanges, 3 worked API designs and a 92-term glossary. Responses came from a demo API run with Python 3.13.5 and curl 8.14.1.
Price: ₹99
Apply coupon above, then buy — Razorpay opens after that
Pay, then download the PDF straight away. We also email you a copy. About 528 KB.
For your own study only. Please don't share the file. Refund policy

- 61 pages
- 22 topic sections
- 34 real HTTP exchanges
- 3 worked API designs
- 92 glossary terms
- Python 3.13.5 and curl 8.14.1
What's inside the REST API pack
Each section gives the rule, the reason, a table you can scan, a real request and response, and the mistakes reviewers flag. Three worked designs follow: an orders API, a payments API with idempotency, and a file upload API. Then an API review checklist, a one-page summary and a glossary.
| Section |
|---|
| HTTP methods and their meaning |
| Status codes |
| Resource naming and URL design |
| Request and response design |
| Filtering, sorting and field selection |
| Pagination |
| Versioning |
| Authentication: API keys, sessions and JWTs |
| OAuth2: flows, scopes and refresh tokens |
| Idempotency keys |
| Error format: problem details (RFC 9457) |
| Rate limits |
| Caching and conditional requests |
| CORS |
| Content negotiation |
| Long-running and async operations |
| Webhooks: signing and retries |
| Bulk operations |
| HATEOAS, briefly |
| OpenAPI documentation |
| Security checklist: the OWASP API Top 10 |
| REST vs GraphQL vs gRPC |
| Design: an e-commerce orders API |
| Design: a payments API with idempotency |
| Design: a file upload API |
- 34 HTTP exchanges were captured from a small orders API started by the build, using curl against localhost. Nothing in those boxes was typed by hand.
- The demo signs real HS256 tokens (including an expired one) so the auth examples show actual 401 and 403 responses.
- A one-page revision summary and a glossary of 92 terms.
Sample pages
These are real pages from the Edition 1 PDF, shown so you can judge the layout and the writing. They are not a free chapter.
Who this pack is for
This sheet is for backend interviews that ask you to design or review an HTTP API, and for everyday API reviews at work.
It assumes you have called an API before. It is the revision you want the night before someone asks PUT versus PATCH, or how you would page a feed.
How to use the pack
- Read the yellow box first. That is the short answer you would give if asked about the topic.
- Then look at the real request and response and say what you would change in a review.
- The three designs at the end are the ones to redraw: orders, payments with an idempotency key, and file upload.
- Skim the API review checklist once before an interview. It is the list of things reviewers flag.
Licence and refunds
The PDF is licensed to you, the person who bought it, for your own personal study only. You may read it on your own devices, print one copy for yourself, and copy the code or queries into your own practice files.
You may not share the file, or any part of it, with other people, for free or for money; resell it or include it in another product; upload it to a website, drive, group, channel or file-sharing service; or remove the Schoolabe name and copyright lines.
If a friend would find this useful, please send them to schoolabe.com instead of sending them the file.
Refunds follow Schoolabe's refund policy. That page says digital products that have been fully accessed or downloaded are generally non-refundable. Please read the policy before you buy.
OpenAPI, GraphQL, gRPC, OAuth, Stripe and GitHub are named only as well-known tools. This sheet is not made or endorsed by their owners.
Questions about the REST API pack
What is in the REST API Design Cheat Sheet?
22 topic sections, 34 real HTTP exchanges, 3 worked API designs, an API review checklist and a 92-term glossary. The PDF is 61 pages.
Are the HTTP examples real?
Yes. A demo orders API was started with the Python 3.13.5 standard library, and curl 8.14.1 captured status line, headers and body. The sequence was run twice. The build fails if a response differs.
Is this a full question bank?
No. It is a design sheet: the rule, the reason, and a real request. The Spring Boot pack is the longer Java backend question bank, and it points at this sheet for HTTP design.
How do I get the file, and can I print it?
After you pay, you download the PDF straight away, and we email you a copy. The licence allows one printed copy for your own use.
Can I share it with my classmates?
No. The licence is for the person who bought it. Please point classmates to schoolabe.com.
What is the refund policy?
See Schoolabe's refund policy. Digital products that have been fully accessed or downloaded are generally non-refundable under that policy.
Other packs
- Spring Boot Interview Pack — ready, Edition 1.
- System Design Cheat Sheet — ready, Edition 1.
- SQL Interview Pack — ready, Edition 1.
- See all packs.
Free practice stays at /interview-prep.