API Testing · Middle · Question 13 of 75

What is an idempotency key for a POST request?

Show the answer

Correct answer: A unique key so a retried request isn't processed twice

Explanation

Payment APIs accept a key in a header. Sending the same key again returns the first result instead of charging twice.

Further reading

Problem with a question

API Testing · Middle · question 13

Test yourself

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

Take this quiz