How to use: Practice with Flashcards (space to flip), test yourself in Guess the Code, sort codes in Match the Family, and generate real responses in the Simulator. Progress is saved to your browser.
Your Progress
Mastery (known cards)
0 known
0 learning
0 total
200
OK
Press Space to flip
200 — OK
2xx Success
The request succeeded; a response body is returned.
Tip: Return 201 when creating a resource.
1/1
What status fits this scenario?
Streak: 0
A new resource was created via POST and you want to return its URL.
Your guess
Common answers
Drag each chip to the correct family.
1xx Informational
2xx Success
3xx Redirect
4xx Client Error
5xx Server Error
HTTP Response Builder
Preview
HTTP/1.1 200 OK\nContent-Type: application/json\n\n{}
Tip: 201 should set
Location; 301/302/307/308 must set Location; 429/503 can use Retry-After; 401 should include WWW-Authenticate.Quick Reference