HTTP Status Codes Playground

Send requests to Dodi’s gudang and collect the stamps: 2xx success, 3xx moved, 4xx the asker’s fault, 5xx the gudang’s. 401 vs 403, what fetch does with a…

Why it matters

A wrong stamp (200 for an error, 200 when nothing was found) misleads clients, caches and search engines. And front-end code often forgets that fetch does not throw for 4xx/5xx, then wonders why the error is never caught. Knowing the stamp families means honest APIs and correct error handling.

The key idea

The first digit of an HTTP code decides its category

Common mistakes

Try it in this playground