API Design & Idempotency

202 and status

Report generation takes 3-10 minutes. Design the HTTP API: initial request, response codes, how the client polls or receives completion, and what you store while the job runs.

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson