← Questions

Idempotent request handling with idempotency keys

0
MicrosoftCodingLast asked Feb 2026

Implement a request handler that uses client-supplied idempotency keys so that retrying the same request returns the original result instead of doing the work twice. Handle two copies arriving at once, a request that fails midway, a key reused with a different body, and expiry of stored keys. Only the title of this report was public.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding