Idempotency keys
Play this lessonThis lesson comes with an interactive animation you can break and a chapter quiz.A client sends POST /payments. The server charges the card, but the response is lost on the way back (timeout). Did it work? The client can't tell, so it retries… and charges twice.
The rest of this lesson is part of Pro
Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.
See Pro