For every developer out there, learning HTTP status codes are a "struggle" they have to face at some point in their career. HTTP status codes may seem a bit difficult to learn and remember at first, but they are very important, and super helpful actually. As you advance in your developing career you will fall in love with HTTP status codes especially those "bad" ones, for the simple fact that they tell you exactly what's wrong with your code and where to start debugging.
In this series of articles we will go through each of them in details to help you better understand these status codes and begin to put them in good use instead of stressing over why you have to learn them.
How do we categorize HTTP status codes?
- Informational 1xx
The 1xx (Informational) class of status code indicates an provisional response for sending connection status or request progress to the browser prior to completing the requested action and sending a final response. Often called a pre-flight request, it uses the OPTIONS method, which you may have heard of if you already know about GET, POST, PUT and DELTE methods.
- Success 2xx
- Redirection 3xx
- Client Side Error 4xx
- Server Side Error 5xx
Conclusion
This was a brief explanation over HTTP status codes and the opening article of this series. Stay tuned as we dive deeper and explain each status code in the next articles. Do not forget to leave a comment and share this article with your friends if you found it helpful.
0 Comments
Post a Comment
Your opinion matters!