Idempotence
Definition
Idempotence means that repeated identical calls have the same intended effect as a single call.
An operation is idempotent if repeating it does not further change the intended end state. This facilitates retries after connection interruptions. Identical responses are not required; protocol entries may also be newly created with each call.
Simply explained
You switch a toggle multiple times to "off": after the first time, its state remains unchanged.
Why it matters in practice
Repeatable calls help bridge technical disruptions without accidentally executing the same business transaction multiple times.
Example from business
Possible example: An interface resets a delivery address to the same values again after the first response was missing.
Limits and pitfalls
- Not every HTTP method is automatically implemented as idempotent. Repeated creation of an order can produce duplicates; identical response texts do not prove the same effect.
Origin & history
The term denotes a property of operations; HTTP uses it to distinguish the behavior of request methods.
Use in mid-sized companies
- Operators can design interfaces and automations so that retries after network errors do not cause duplicate bookings or records.
Frequently asked questions
Must all responses be identical?
No. What matters is the intended effect on the system state, not the identical representation of each response.
Sources
- Idempotent. · MDN (2025): Idempotent.
Editorially reviewed on: