HTTP Status Codes Reference
Every HTTP status code with a plain-English meaning. Search by number or name.
HTTP status code classes
1xx informational, 2xx success, 3xx redirection, 4xx client errors and 5xx server errors. The first digit tells you who should act: a 4xx means fix the request, a 5xx means the server (or something behind it) failed.
401 vs 403
401 Unauthorized means you are not authenticated: missing or invalid credentials. 403 Forbidden means the server knows who you are but you lack permission.
301 vs 302 vs 307 vs 308
301 and 308 are permanent; 302 and 307 are temporary. 307 and 308 keep the HTTP method and body, while browsers may turn a POST into a GET on 301 and 302.
400 vs 422
Use 400 when the request cannot be parsed at all, and 422 when it parses but fails validation (for example a required field is missing).
502 vs 503 vs 504
502 is a bad reply from an upstream server, 503 means the service is temporarily unavailable, and 504 means the upstream did not answer in time.
Test how your API responds with real requests using the free API tester or the RestForge mobile app, which shows the status code and timing of every call.
Need More Than a Browser Tool?
RestForge is a full API client for iPhone, iPad and Android: collections, environments, scripts and code generation.