Friday, 1 March 2024

Request Methods

 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

No comments:

Post a Comment

map online shopping status with REST API

  Example Sequence of API Calls Browse products : GET /products View product details : GET /products/12345 Add product to cart : POST /cart ...