GET
- Retrieve data from the server
POST
- Send data to the resource to create a resource
DELETE
- Delete the resource
PUT
- Send data to the server to update a resource
PATCH
- Send data to the server to update resources partially
Example Sequence of API Calls Browse products : GET /products View product details : GET /products/12345 Add product to cart : POST /cart ...
No comments:
Post a Comment