← Quiz: Postman: all 10 questions
Quiz: Postman · Question 4 of 10
What does pm.response.to.have.status(201) check?
What does pm.response.to.have.status(201) check?
- A.That the request took 201 ms
- B.That the response status code is 201
- C.That 201 items were returned
- D.That the request was retried 201 times
Answer & explanation
Correct answer: That the response status code is 201
201 Created after a successful POST.
Can you get the rest right without peeking?
Take the timed Quiz: Postman quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →