Created
October 25, 2018 11:12
-
-
Save shihabmi7/a4ba3eecc3a7174b4b812ce6b1d3f55c to your computer and use it in GitHub Desktop.
HTTP_VERBS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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