hello everyone,

I'm a new user working through the Restlet tutorials (Restlet 2.0m7, 
java 1.6, running standalone (no servlet container) from eclipse). So 
far I'm enjoying using Restlet, which seems very straightforward, 
especially compared to other java web technologies.

 From the firstResource tutorial, I'm trying to understand the 
distinction between creating a new item via PUT (ItemResource) vs. POST 
(ItemsResource). The two methods appear to do the same thing—create a 
new Item—with the only distinction being that apparently PUT updates an 
existing item if found whereas the POST implementation complains if you 
try to change or re-add an existing item.

What is the rationale for this apparent duplication?

Thanks in advance,
dan

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

Reply via email to