The most famous 400 code, that all Web users have seen, is the ubiquitous 404 - Not Found which is shown by a Web browser when a link is "broken", i.e. These codes are useful when changing content on servers, when one cannot update clients that continue to call the older URLs, and/or to ensure than search engine indexing is not lost.Ī client error is basically the server responding to the client (browser, mobile app, etc.): "You messed up" or more precisely: "I don't really know what you are asking me for". There are no less than 8 codes that mean "I am sending you somewhere else", either temporarily or permanently. Either it has returned something, or it has returned nothing but successfully completed the processing on the server. ![]() No success or error, just a "Roger that!"Ī code 200 is the one you want to see the most of in your logs: it means the request was successful. Basically, what it does is return an information message such as "I am working on it". With only 3 codes (100, 101, 102), the 100 series is the shortest one. (Disclosure: I am an advisor to Restlet)Īnd of course, HTTP is not devoid of geek humor - read till the end to figure out more on that. To make it easier for developers (and non-developers too) to understand what these status codes mean and how to use them, the people at Restlet, a vendor in the API space, have created and published a cool looking metro-style HTTP Status Codes Map. What we non-developers don't necessarily know is that these messages are part of what is called "HTTP Status Codes", a series of technical statuses that are returned by HTTP servers (such as the ones serving Websites or RESTful APIs) to the client making the request. Some Web application users may have been exposed to more arcane (and sometimes scary) messages like 500 - Internal Server Error, or 503 - Service Unavailable - or to application messages that say something like "Sorry dude, there was an error on the server side, your best bet is to try again, or call support". Even non-developers are familiar with the 404 - Not Found status code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |