API Testing · Junior · Question 11 of 75

What does 201 Created usually come with?

Show the answer

Correct answer: The new resource or a Location header pointing to it

Explanation

Clients need the new ID or URL. Testers check the body and the Location header, then GET the resource to confirm it exists.

Further reading

Problem with a question

API Testing · Junior · question 11

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz