PUT is designed to create or update a known resource, for example: PUT / Transactions / 1234
This will create (or update, if it already exists) a transaction with an identifier of 1234. This means that you can use PUT only if you know the URL of the resource.
POST creates a new child resource, for example: POST / Transactions /
This will create a new transaction resource.
Note that I am pluralizing a transaction, so now it represents a collection.
Not being a C # developer, I donโt know how easily this maps to WCF, but this approach is technology independent.
Steved
source share