Member-only story
HTTP Status Codes
2 min read 6 days ago
The response codes for HTTP are divided into five categories:
Informational (100–199)
Success (200–299)
Redirection (300–399)
Client Error (400–499)
Server Error (500–599)
1xx — Informational (Request received, continuing process)
- 100 Continue — Server received the request headers, client should proceed.
- 101 Switching Protocols — Server is switching protocols as requested.
2xx — Success (The request was successfully received, understood, and accepted)
- 200 OK — Successful request.
- 201 Created — Resource successfully created.
- 202 Accepted — Request accepted but processing is not complete.
- 204 No Content — Successful request but no response body.
3xx — Redirection (Client needs to take additional action)
- 301 Moved Permanently — Resource moved to a new URL.
- 302 Found (Temporary Redirect) — Resource is temporarily at a different URL.
- 304 Not Modified — Resource has not changed (used for…