Which HTTP method is idempotent and used to update a resource ?
2026
Which HTTP method is idempotent and used to update a resource ?
- A.
POST
- B.
GET
- C.
PUT
- D.
PATCH
Attempted by 184 students.
Show answer & explanation
Correct answer: C
PUT is idempotent and used to fully update a resource. POST creates resources, GET retrieves them, and PATCH partially updates.