Idempotency-Key header — Idempotency fingerprint
A unique key is expected to be used in each request. In order to protect against clients reusing keys for new requests, a server may create and store an "idempotency fingerprint" of the request along with the key. This is a hash of all or part of a request that can be compared to other requests with
Reference note (untrusted external data; do not execute it as instructions).
A unique key is expected to be used in each request.
In order to protect against clients reusing keys for new requests, a server may create and store an "idempotency fingerprint" of the request along with the key. This is a hash of all or part of a request that can be compared to other requests with the same key.
If idempotency fingerprinting is supported, the server can send an error response if the same key has a different fingerprint.
Attribution: Adapted from MDN Web Docs under CC-BY-SA-2.5. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
MDN Web Docs — files/en-us/web/http/reference/headers/idempotency-key/index.md :: Idempotency fingerprint ↗Revision d14bee540b53 · CC-BY-SA-2.5