Hi kocisky, in HTTP it is not allowed to send data in a GET body, so it is not allowed in Restlet.
The reason is, that the result of a GET request is defined by the header parameters, so that you could cache them and so on. For details see the dissertation of Roy Fielding: http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm best regards Stephan -----Ursprüngliche Nachricht----- Von: kocisky <[email protected]> Gesendet: 12.05.2011 14:50:52 An: [email protected] Betreff: access GET body parameters >Hi, > >i would like to access the body of the GET request from a restlet 2.0 >resource. This for a few reasons: > >- i would like to send parameters (in a JSON format) in the GET request, >lets say for example "return the full object that has these fields/values >... " > >- i would like to protect the parameters of the URL request using https, and >if i specify them as url parameters i cant protect them. > >- i would like to avoid very long urls. > >i was also reading: >http://stackoverflow.com/questions/978061/http-get-with-request-body > >could you suggest me an approach? do you see a better solution? >thanks !!! >kocisky > >-- >View this message in context: >http://restlet-discuss.1400322.n2.nabble.com/access-GET-body-parameters-tp6355657p6355657.html >Sent from the Restlet Discuss mailing list archive at Nabble.com. > >------------------------------------------------------ >http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2735012 ___________________________________________________________ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2735067

