🎙 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 4 of 10

Which status code should a successful DELETE with nothing to return use?

Which status code should a successful DELETE with nothing to return use?

  1. A.200 with an empty error field
  2. B.201
  3. C.204
  4. D.304
Answer & explanation

Correct answer: 204

204 No Content means success with no response body.

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 →