Skip to content

Instantly share code, notes, and snippets.

@dariooddenino
Created January 22, 2016 15:22
Show Gist options
  • Save dariooddenino/fa585e125685197063d2 to your computer and use it in GitHub Desktop.
Save dariooddenino/fa585e125685197063d2 to your computer and use it in GitHub Desktop.

#HTTP CODES


##2xx Success

200 OK Standard response for successful HTTP requests.

201 Created The request has been fulfilled and resulted in a new resource being created.

204 No Content The request has been fulfilled but does not need to return an entity-body.

##4xx Client Error

400 Bad Request The server cannot or will not process the request due to something that is perceived as a client error.

401 Unauthorized

403 Forbidden Like unauthorized, but authenticating will make no difference.

404 Not Found The requested resource could not be found.

409 Conflict The request could not be completed due to a conflict with the current state of the resource.

412 Precondition Failed The server does not meet one of the preconditiosn that the requester put on the request.

##5xx Server Error

500 Internal Server Error A generic error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment