Skip to content
Middle6 views

And which one is which in terms of idempotency?

Practice

AI answer

Idempotency means that repeating the same request results in the same target state as making it once; the responses may still differ. In HTTP, GET, HEAD, and OPTIONS are safe and idempotent methods; PUT and DELETE are idempotent but not safe. POST is usually non-idempotent. The standard does not guarantee idempotency for PATCH: it depends on how the specific change is implemented.