RFC 7231 defines GET, HEAD, OPTIONS, PUT and DELETE as idempotent; POST and PATCH are not.
graph TD HTTP[HTTP methods] --> Safe[Safe: GET, HEAD, OPTIONS] HTTP --> Idem[Idempotent: PUT, DELETE, GET, HEAD, OPTIONS] HTTP --> Unsafe[Not idempotent: POST, PATCH] Safe --> Idem style Safe fill:#E8F5E9 style Idem fill:#E8F5E9 style Unsafe fill:#FFEBEE