HTTP Status Codes
Quick reference for HTTP response status codes with descriptions
About HTTP Status Codes
HTTP Status Codes lets you quick reference for http response status codes with descriptions.
Category: API.
Frequently asked questions
What do the 2xx, 3xx, 4xx, 5xx ranges mean?
▾
1xx: informational. 2xx: success. 3xx: redirection. 4xx: client error (the request was wrong). 5xx: server error (the server failed to fulfill a valid request).
What's the difference between 301 and 302?
▾
301 is a permanent redirect — browsers and search engines update their records to the new URL. 302 is temporary — the original URL should be kept. Use 301 for SEO-sensitive redirects.
What's the difference between 401 and 403?
▾
401 Unauthorized means the request lacks valid authentication credentials — the client should log in. 403 Forbidden means the server understood the request but refuses to authorize it — even with valid credentials.
When should I return 400 vs 422?
▾
400 Bad Request is for malformed syntax (invalid JSON, missing required fields). 422 Unprocessable Entity is for well-formed requests that fail semantic validation (e.g., a date range where end < start).