Chapter 5. Tiku Takes Orders
What APIs are: requests, responses, webhooks and MCP

Chapter title card with the chapter's host character and the day of the countdown.
What you'll learn in this chapter
- Read any API request and response: endpoint, method, headers, body, status code
- Know eight status codes by heart and what each one tells you
- Recognise REST, server actions, webhooks, realtime and MCP when an AI tool mentions them
- Design QueueLess's own endpoints with Claude, then build and test two of them
- Take a test payment with Stripe and mark an order paid with a verified webhook
Inside
- What an API is
- Anatomy of a request
- Status codes worth memorising
- The kinds of APIs you'll meet
- Designing your own API with Claude
- API keys, rate limits and costs
- What AI gets wrong here
- Lab: take real orders, and a test payment
- More prompts for the pass
- What you've learned
Checking your ticket at the door…