PUT
- It is used to create new resource or overwrite it.
PUT /(action)/ HTTP/1.1 Host: example.com
will create a new resource. Similarly,
PUT /(action)/ HTTP/1.1 Host: example.com
will update your existing resource.
POST
- It is used to update (overwrite) an existing resource
POST /(action)/ HTTP/1.1 Host: example.com
will modify your resource. However,
POST /(action)/ HTTP/1.1 Host: example.com
will return a ‘resource not found’ error.
For more information visit W3.org