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

A user is logged in but tries to delete another user's post. Which status code fits?

A user is logged in but tries to delete another user's post. Which status code fits?

  1. A.401
  2. B.403
  3. C.404
  4. D.500
Answer & explanation

Correct answer: 403

403 Forbidden: the server knows who you are, but you are not allowed to do this.

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 →