Your Guide to HTTP Response Status Code

Hello, I’m Aya Bouchiha and this is #day-31, in this post, we’ll cover the most famous HTTP Status Codes.

Definition of HTTP Response Status Codes

HTTP response status codes are three-digit responses from the server to the browser-side re…


This content originally appeared on DEV Community and was authored by Aya Bouchiha

Hello, I'm Aya Bouchiha and this is #day-31, in this post, we'll cover the most famous HTTP Status Codes.

Definition of HTTP Response Status Codes

HTTP response status codes are three-digit responses from the server to the browser-side request. such as 500 and 404.

HTTP Status Codes Groups

These are the most famous HTTP Status Codes, for more details:

1. Informational Responses (100 - 199)

  • 100: (Continue) means that the initial part of the request has been received and has not yet been rejected by the server.

  • 102: (Processing) this status code means that the server has received and is processing the request. But no response is available yet

2. Successful Responses (200 - 299)

  • 200 : (OK) the request has succeded.

  • 201 : (Created) means that the request (POST or PUT) has succeeded and a new resource has been created as a result.

  • 202: (Accepted) the request has been accepted for processing, but the processing has not been completed

3. Redirection Messages (300 - 399)

  • 301: (Moved Permanently) indicates that the URL has been changed permanently & the new one is given in the response

  • 307: (Temporary Redirect) the server-side send this kind of response in order to direct the client to get the requested resource at another URI

4. Client Error Responses (400 - 499)

  • 400: (Bad Request) the server can't understand the request due to the invalid syntax.

  • 401: (Unauthorized) means that the client is unauthenticated, and should authenticate for getting the requested response

  • 403: (Forbidden) the server refused to give the requested resource because the client is unauthorized to get the content.

  • 404: (Not Found) indicates that the URL is not recognized.

  • 405: (Method Not Allowed) The request method is not supported.

5. Server Error Responses (500 - 599)

  • 500: (Internal Server Error)given when an unexpected condition was encountered and no more specific message is suitable

  • 501: (Not Implemented) indicates that the request can not be handled because it is not supported by the server

  • 503: (Service Unavailable) indicates that the server is currently not ready to handle the request.

  • 511: (Network Authentication Required) means that the client needs to authenticate to gain network access.

References and useful Resources

Quote of the day

"failure is an event, not a person"

  • Zig Ziglar

Happy Coding :)


This content originally appeared on DEV Community and was authored by Aya Bouchiha


Print Share Comment Cite Upload Translate Updates
APA

Aya Bouchiha | Sciencx (2021-07-13T23:20:59+00:00) Your Guide to HTTP Response Status Code. Retrieved from https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/

MLA
" » Your Guide to HTTP Response Status Code." Aya Bouchiha | Sciencx - Tuesday July 13, 2021, https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/
HARVARD
Aya Bouchiha | Sciencx Tuesday July 13, 2021 » Your Guide to HTTP Response Status Code., viewed ,<https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/>
VANCOUVER
Aya Bouchiha | Sciencx - » Your Guide to HTTP Response Status Code. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/
CHICAGO
" » Your Guide to HTTP Response Status Code." Aya Bouchiha | Sciencx - Accessed . https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/
IEEE
" » Your Guide to HTTP Response Status Code." Aya Bouchiha | Sciencx [Online]. Available: https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/. [Accessed: ]
rf:citation
» Your Guide to HTTP Response Status Code | Aya Bouchiha | Sciencx | https://www.scien.cx/2021/07/13/your-guide-to-http-response-status-code/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.