When your Method looks like this:

@Post("json")
public void doPost(){...}

you have to set the Content-Type header of your Request to application/json



--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/error-415-while-posting-json-tp6418843p6427317.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Reply via email to