Skip to content

Instantly share code, notes, and snippets.

@shihabmi7
Created October 25, 2018 11:12
Show Gist options
  • Save shihabmi7/a4ba3eecc3a7174b4b812ce6b1d3f55c to your computer and use it in GitHub Desktop.
Save shihabmi7/a4ba3eecc3a7174b4b812ce6b1d3f55c to your computer and use it in GitHub Desktop.
HTTP_VERBS
HTTP has a few important verbs.
POST - Create a new resource
GET - Read a resource
PUT - Update an existing resource
DELETE - Delete a resource
HTTP also defines standard response codes.
200 - SUCESS
404 - RESOURCE NOT FOUND
400 - BAD REQUEST
201 - CREATED
401 - UNAUTHORIZED
415 - UNSUPPORTED TYPE - Representation not supported for the resource
500 - SERVER ERROR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment