Learn HTTP
A method and URI express intent. Status, headers and content express the outcome.
Read each short explanation, work through the example, then answer a pop quiz. Every answer explains the reasoning. Incorrect answers unlock a fresh question on the same idea; the full lesson contains ten questions.
01Understand the basics
Ready to learnHypertext Transfer Protocol (HTTP) carries requests and responses. The method describes the action, the URL identifies the target, headers carry metadata, and the body can carry content. A status code describes the outcome; read the specific code and response details together.
02Interpret responses
Ready to learnStatus classes group outcomes: 2xx success, 3xx redirection, 4xx client errors and 5xx server errors. Different codes within a class require different handling.
Try a different value
03Retry with care
Ready to learnIdempotent means repeating the same request has the same intended effect as making it once. GET, PUT and DELETE have idempotent semantics. Response codes may still differ between attempts.
You’ve practised all three sections.
First-attempt understanding and later practice are shown separately. Keep practising with the related tools or continue through the suggested path.
Put it to work
Apply what you’ve learned using the related tools.