-
GET is used to fetch the resource/content.
-
PUT is used to modify and update a resource.
- PUT is idempotent.
- PUT /customers/ HTTP/1.1
- Host: http://www.somesite.com/
-
POST is used to create a resource, or overwrite it.
- While you specify the resources new URL.
- POST /customers/ HTTP/1.1
- Host: http://www.somesite.com/
-
GET/PUT for listing and updates
-
POST to insert or Overrite
Advertisements