I found an interview with Jerome on infoQ recently which states it is best to 
use PUT for both Create & Update

------- http://www.infoq.com/articles/restlet-louvel-interview -------
InfoQ: Can you elaborate a little on your criticism of Rails in this regard? 
What's unnatural about its CRUD mapping in your opinion?

JL: Beside the GET and DELETE HTTP methods that map nicely to SQL SELECT and 
DELETE verbs, I find the usage by Rails of POST method for creation rather 
unfortunate. The best method for creation in REST is PUT which is also used for 
updates. The advantage of PUT over POST is that if the operation fails it can 
be safely repeated which isn't the case for POST.

Also, ...
-------

Should I ever use POST?
If so, can you give an example of what to use this for?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2432335

Reply via email to