Everything that goes into building a correct, fast, safe backend service: HTTP and REST, auth, SQL, indexing, transactions, and the caching/queueing patterns that keep it standing up. Language- and vendor-agnostic.
Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.
You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.
The contract every backend service speaks: methods and their guarantees, the status codes that actually mean something, conditional requests, and how to shape a resource API.
73 total questions
Card #1
What do the HTTP status classes 2xx and 3xx mean?
Card #2
When should an API return 401 rather than 403?
Card #3
What does it mean for an HTTP method to be idempotent, and which methods are?
1. A client has sent more requests than its rate limit allows this minute. Which status code should the API return?
2. A PUT carries If-Match with an ETag that no longer matches the stored version. What should the server return?
3. DELETE /orders/7 succeeds, and an identical retry gets 404. Is DELETE still idempotent here?
1. A 405 Method Not Allowed response must include an ___ header listing the methods the resource supports.
Hint: A one-word response header
2. A server answering a Range request with only part of a file returns 206 Partial ___.
Hint: The status code's reason phrase
3. Return 410 ___ rather than 404 when a resource was removed on purpose and will not come back.
Hint: Shorter than "Not Found"