🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.That the request took 201 ms
  2. B.That the response status code is 201
  3. C.That 201 items were returned
  4. 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 →