While we do searching activity on internet (typically we use Search Engine to get specific information by typing a keyword), we may open few different sites to find specific information that we need. Every we open the sites, we'll request resources that must be return / delivered from server by web server to client (us). Every request that we made might call some resources from same server or different server, the web server will return response code that represent status of the resource that requested.
To sum all response code, we can understand that :
- 100 - 199 : Informational
- 200 - 299 : Success
- 300 - 399 : Redirection
- 400 - 499 : Client error
- 500 - 599 : Server error
For most popular HTTP response we'll find below HTTP response code:
- 200 ( Ok ), the request was success and return the expected response (that means the server and the resource that accessed by client is able to return the correct data.
- 404 ( Not Found ), the requested resource is not available to be served to client.
- 301 ( Moved Permanently ), the target resource or site is permanently redirected to new destination.
- 302 ( Temporary Redirect ), the site is temporarily redirected to other page or sites (usually used if the site is under maintenance)/
- 500 ( Internal Server Error ), this error indicates that there is something went wrong from the server.
- 503 ( Service Unavailable ), indicates that the server is unavailable, we may come back later, this might happen while the new service is being deployed or the sites is under maintenance.