Hey all,
I'm using restlet on GAE and I'm afraid I'm new to both. I've setup a basic
routing:
router.attachDefault(UserResource.class);
Route r = router.attach( "/" + API_VERSION + "/user/{" +
USER_ID_ATTRIBUTE + "}",UserResource.class);
(with the intent that, ATM, all calls should go to UserResource which
subclasses ServerResource) but when I try to POST with post variables the
response is 415. My GET calls work and my POST calls without POST variables
work.
curl -i -H 'Accept: application/xml' -X POST -d "key=value"
'http://localhost:8888/v0.1/user/create'
Is something wrong with my routing or ServerResource? Sorry if I missed an
obvious explanation somewhere.
Thanks,
bjorn
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2698062