I\'m well into implementing a REST service (on a Windows CE platform if that matters) and I started out using IBM\'s general definitions of using POST for creating (INSERTs)
The verbs are:
GET {path}
: Retrieve the resource whose identifier is {path}
.
PUT {path}
: Create or update the resource whose identifier is {path}
.
DELETE {path}
: Delete the resource whose identifier is {path}
.
POST {path}
: Invoke an action which is identified by {path}
.
When the intention is to create a new resource, we can use PUT
if we know what the identifier of the resource should be, and we can use POST
if we want the server to determine the identifier of the new resource.