HTTP Status Quiz

HTTP Status Quiz

All Games

10 questions per round. Match HTTP status codes to their meaning — or their meaning to the code.

0
Score
1 / 10
Question
0
Streak
Mode:

About the HTTP Status Code Quiz

HTTP status codes are the vocabulary of the web. Every API response, every redirect and every error page carries one, and knowing them by heart makes debugging, API design and reading logs much faster.

Each round has ten questions drawn from the most important codes across all five classes. In Code → Name mode you see a number such as 409 and choose its meaning; in Name → Code mode you see a meaning such as "Conflict" and pick the number. Your score and streak are tracked through the round.

How to play

  1. Choose a Mode: Code → Name or Name → Code.
  2. Answer ten multiple-choice questions.
  3. Check the description shown after each answer, then press Play Again for a new set.

Tips for a better score

  • Learn the classes first: 1xx informational, 2xx success, 3xx redirection, 4xx client error, 5xx server error. The first digit narrows every question.
  • Remember the pairs that confuse people: 401 (not authenticated) vs 403 (not allowed), and 502 (bad upstream response) vs 504 (upstream timeout).
  • 201 Created and 204 No Content are the two success codes you will use most in REST APIs after 200.
  • Associate codes with situations you have seen — a deploy that returned 503 is easy to remember.

Frequently asked questions

How many status codes does the quiz include?

The question pool covers 28 of the most widely used codes across every class.

Which codes should every developer know?

At least 200, 201, 204, 301, 302, 304, 400, 401, 403, 404, 409, 422, 429, 500, 502, 503 and 504.

Where can I read about each code in detail?

The HTTP Status Code Lookup explains every code with usage notes.

Is the quiz useful for interviews?

Yes. Questions about status codes and REST semantics are common in web and backend interviews.

Related