← 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"?
- A.200
- B.201
- C.204
- 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 →