Member-only story
HTTP Response Status Code
Understanding the basic HTTP status codes
What is HTTP?
The full form of HTTP is Hypertext Transfer Protocol. It defines the rules that allow browsers to communicate with servers to exchange information over the internet. HTTP is an application layer protocol in the Open Systems Interconnection (OSI) network communication model. An HTTP method indicates the desired action to be performed on the resources i.e., GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, and PATCH.
What is the HTTP Response Status Code?
When you open the browser and type www.cnn.com, it uses the HTTP protocol to communicate with the CNN website. HTTP response status code indicates whether a specific request has been completed.
What are the Categories of HTTP Status Codes?
Essentially divided into five distinct categories /classes-
1XX — Informational Codes (100–199)
2XX — Successful Codes (200–299)
3XX — Redirection Codes (300–399)
4XX — Client Error Codes (Browser) (400–499)
5XX — Server Error Codes (Website) (500–599)
Success Codes
The most common 2XX Success Codes you may have seen while browsing indicate that the server recognized the request, accepted it, and processed it.