Idempotency
Idempotency is the property that sending the same request several times has the same intended effect on the server as sending it once. In HTTP, a method is idempotent if the intended effect on the server of multiple identical requests is the same as the effect of a single request; PUT, DELETE and the safe methods such as GET, HEAD and OPTIONS are idempotent, while POST and PATCH are not inherently idempotent.[1][2][3] For operations where a duplicate would be costly, such as a payment sent with POST, APIs ask the client to attach a unique idempotency key to each operation, reusing it for retries so that retries are processed only once.[4] Idempotency does not mean every response is identical.[2]