Skip to content

Instantly share code, notes, and snippets.

@avtaniket
Created May 31, 2018 04:01
Show Gist options
  • Save avtaniket/d8459ef0740853cfc8bf9c9351f6765a to your computer and use it in GitHub Desktop.
Save avtaniket/d8459ef0740853cfc8bf9c9351f6765a to your computer and use it in GitHub Desktop.
REST API response codes
200 OK: Success
201 Created: Created one or more resource(s).
204 No Content: The server has successfully fulfilled the request.
400 Bad Request: The web-service request was invalid.
401 Unauthorized: Authentication failed! Invalid credentials.
403 Forbidden: Requested a resource to which the server does not allow access.
404 Not Found: Requested resource not found.
415 Unsupported Media Type: The requested payload format is in an unsupported format.
429 Too Many Request: User has sent too many requests in a given amount of time.
500 Internal Server Error: An internal server error occurred while processing the request.
502 Bad Gateway: Hexnode MDM Web service server is not reachable.
503 Service Unavailable: The server is currently unable to handle the request due to a temporary overload or maintenance of the server. This is a temporary condition which will be alleviated after some delay.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment