yes...it does not have acceptrepresentation method. But then why it has been
implemented as PUT rather than POST? User creation should always be POSt,
right? PUT is always used for Updates, right??
Thanks!
--
Hi,
I changed the Bookmark example
C:\restlet-1.1.4\src\org.restlet.example\org\restlet\example\book\rest\ch7\ApplicationTest.java
from Put to Post in putUser method as shown below:
public static void putUser(String userName, String password,
String fullName, String email) {
Hello,
this may be because the UserResource does not handle POST requests.
Did you try to rename UserResource#storeRepresentation to
UserResource#acceptRepresentation?
Best regards,
Thierry Boileau
Hi,
I changed the Bookmark example
3 matches
Mail list logo