🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: HTTP Methods, Status Codes and Headers: all 10 questions

Quiz: HTTP Methods, Status Codes and Headers · Question 2 of 10

What does "idempotent" mean for an HTTP method?

What does "idempotent" mean for an HTTP method?

  1. A.It is encrypted
  2. B.It never has a body
  3. C.Repeating the same request leaves the server in the same state as sending it once
  4. D.It always returns 200
Answer & explanation

Correct answer: Repeating the same request leaves the server in the same state as sending it once

PUT and DELETE are idempotent; POST is not, so retrying it can create duplicates.

Can you get the rest right without peeking?

Take the timed Quiz: HTTP Methods, Status Codes and Headers quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →