Hi Richard,
you can use the status BAD_REQUEST after having controlled the input
representation. Or throw a ResourceException with the status BAD_REQUEST.
Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org <http://www.restlet.org/>
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
<http://www.noelios.com/>
Hi
How do I implement a resource so that it supports PUT for update but not
creation? This particular resource should be created by POST and
updated via PUT.
Do I throw a ResourceException from storeRepresentation?
Best regards
Richard Hoberman