Hi Sorry if this is explained and resolved elsewhere, but I could not come right with any explanations found elsewhere on the forum.
I am trying to do a simple POST of plain text into my RESTlet API. I'm using the annotation @Post("*:txt|json"). There is however just NO way to get the content into the API without the stupid 415 error. Odd thing is this - if I do a print of getVariants().toString() in my method handling my @Get("*|txt/json") then it prints this: [[text/plain], [application/json]] If I do the same for the @Post("*:txt/json")'s method however, I get a big fat empty array: [] Any ideas? I'm pulling out my hair here :( Thanks ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2998851