Skip to content

Safe vs idempotent vs neither

Safe means read-only, idempotent means repeatable without side-effect accumulation, and both are orthogonal properties of an HTTP method.

Method

Safe

Idempotent

Typical effect

GET

Yes

Yes

None

HEAD

Yes

Yes

None

OPTIONS

Yes

Yes

None

PUT

No

Yes

Replace resource

DELETE

No

Yes

Remove resource

POST

No

No

Create, trigger

PATCH

No

Not guaranteed

Partial update