HTTP_Methods_CheatSheet
HTTP_Methods_CheatSheet
Overview
HTTP methods define the action to be performed on a resource. The four most common are GET,
Each one is used depending on what kind of interaction the client needs to make with the server.
GET
Properties:
Example Scenarios:
POST
Properties:
Example Scenarios:
PUT
Properties:
Example Scenarios:
DELETE
Properties:
Example Scenarios:
- Deleting a sale: DELETE /sales/45
Best Practices