- 200 - denotes Successful Operation, used mainly in response of a get request.
- 201 - denotes Seccessful Creation, mostly used in response of a post request for creation of some resource on the server.
- 206 - denotes Partial Content, mostly used when partial chunk of data is requested through the server.
- 400 - Bad Request, occurs when the server cannot understand the request sent.
- 401 - Unauthorized, occurs when the authorization for accessing some content is incorrect
- 403 - Forbidden, occurs when inaccessible resource is tried to be accessed in the request.
- 404 - Not Found, occurs when the request tries to access some non existent resource.
- 405 - Not Allowed, occurs when a banned request is passed (say the GET request for /api route, which was banned by server)
- 500 - Internal Server Error, buggy code on the server!
- 501 - Not implemented, when the server method requested is no longer supported.
- 502 - Bad Gateway, when the error is from a resource the server uses and not directly from the server code base.
- 503 - Server Unavailable, occurs when the server is down for heavy load or for maintenance
- 504 - (Gateway) Timeout, when the server has waited for a long time for response from a resource without getting any response.