Concept
Idempotency
An operation is idempotent if doing it twice has the same effect as doing it once. That is what makes a retry safe: the caller may repeat a request it is unsure about and the system will not act on it a second time. In practice the client sends the same idempotency key with every attempt, and the server stores the key with the result.
Where you'll see it
Related concepts
Sources: Stripe API reference: idempotent requests ↗ · AWS Builders' Library: Making retries safe with idempotent APIs ↗ · IETF draft: The Idempotency-Key HTTP header field ↗ · Report a problem
The definition is in our own words; the sources are those of the lesson Idempotency keys.