Which HTTP method is idempotent and used to update a resource ?

2026

Which HTTP method is idempotent and used to update a resource ?

Answer: C. PUTPUT is idempotent and used to fully update a resource. POST creates resources, GET retrieves them, and PATCH partially updates.

  1. A.

    POST

  2. B.

    GET

  3. C.

    PUT

  4. D.

    PATCH

Attempted by 525 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.

Explore the full course: Niacl Ao It Specialist

Loading lesson…