API Design · Middle · Question 18 of 75

How does an idempotency key work on the server?

Explanation

Keys expire after some time. If the same key comes with a different body, return an error, since it's likely a client bug.

Further reading

Problem with a question

API Design · Middle · question 18

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz