Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What are those HTTP Response Codes??

Posted on Sep 29 Whenever we visit a website and for some reason, it gets failed to load, we get the response codes such as 'error 403 - Forbidden' or 'error 404-Content Not Found', ever wondered what those codes represent?HTTP response status Code represents whether the specific HTTP Request has been successfully completed or not. Those codes are grouped under 5 categories:1xx - Informational2xx - Successful3xx - Redirection4xx - Client Error5xx - Server ErrorThese codes indicate that the request has been received and that the process is continuing.100 - Continue: This response is used to let the client know that the request has been received and has not yet been rejected by the server.103 - Processing: This is used to indicate that the server has accepted the complete request, but has not yet completed it.These codes indicate that the request was successful and that the requested information has been sent in the response.200 - OK: The request was successful, and the requested information has been sent in the response (the desired result).204 - No Content: The request was successful, but there is no content (data information) to send in the response.These codes indicate that the client must take additional action to complete the request.301 - Moved Permanently: The requested resource has been permanently moved to a new URL. This generally happens when a website changes its URL, hence, the request cannot reach the desired servers.302 - Found: The requested resource has been temporarily moved to a new URL. The client should use the new URL in this and future requests.These codes indicate that there was an error with the request made from the client side.400 - Bad Request: The request was either invalid or cannot be fulfilled for the instance.401 - Unauthorized: The client must authenticate itself to get the requested response.402 - Payment Required: This code is reserved for future use.403 - Forbidden: The client does not have permission to access the requested resource.404 - Not Found: The requested resource could not be found on the server.405 - (Method Not Allowed): Requested HTTP method is not permitted for the specific resource.409 - (Conflict): There is a conflict with the current state of the resource. It is often related to issues like resource locking or simultaneous updates by multiple clients.These codes indicate that there was an error with the server while processing the request.500 - Internal Server Error: An unexpected condition was encountered by the server and no specific message is suitable.503 - Service Unavailable: The server is currently unable to handle the request due to a temporary overload or maintenance.HTTP response codes are an important part of the HTTP protocol, as they provide a way for servers to communicate information about the status of a request to clients. Understanding these codes can help us troubleshoot issues with your website or application.Templates let you quickly answer FAQs or store snippets for re-use.405 is METHOD NOT ALLOWED; 409 is CONFLICT.Thank You, I have updated it.Very useful Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Lucas Lima do Nascimento - Sep 26 CamiKuro.js - Sep 27 Bruno Noriller - Sep 22 Rain Leander - Sep 21 Once suspended, ghubrakesh will not be able to comment or publish posts until their suspension is removed. Once unsuspended, ghubrakesh will be able to comment and publish posts again. Once unpublished, all posts by ghubrakesh will become hidden and only accessible to themselves. If ghubrakesh is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to ghubrakesh. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag ghubrakesh: ghubrakesh consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging ghubrakesh will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

What are those HTTP Response Codes??

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×