All challenges
Multiple ChoiceHard 30s

Long-running operations

Choose the best answer for: async API patterns
Options
  1. 1Block until done, holding the connection open until work finishes
  2. 2202 Accepted with Location header for status polling
  3. 3No status, since long-running work proceeds with no way to poll
  4. 4Always 200, returning success while the work still runs

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle