🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Node, Express and REST: all 10 questions

Quiz: Node, Express and REST · Question 2 of 10

Which status code fits "a new resource was created"?

Which status code fits "a new resource was created"?

  1. A.200
  2. B.201
  3. C.204
  4. D.302
Answer & explanation

Correct answer: 201

201 Created is returned after a successful POST that creates something.

Can you get the rest right without peeking?

Take the timed Quiz: Node, Express and REST quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →