Hello,

the single resource exposed by your application is available at this URl : 
"http://localhost:8888/repo​rtservice/1";, and not 
"http://localhost:8888/repo​rtservice";.

I may warn you may miss PUT and GET request. If you intend to get the state of 
the resource "/repo​rtservice/1", even if it is generated (or extracted from a 
database, etc), you should issue a GET request. A PUT request is meant to 
create or update the target resource with the state provided in the request. As 
you send an empty entity, it implies that the target entity has "no state" (but 
still exists), which is quite odd.

Best regards,
Thierry Boileau

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

Reply via email to