[web2py] Re: where is the json data when using GWT's RequestBuilder() ?

2013-06-07 Thread Niphlod
if you're using recent web2py releases, that are able to parse POST vars encoded in json, you should have them in request.vars as usual. Otherwise, see response.body.read() On Friday, June 7, 2013 5:24:44 PM UTC+2, Carl wrote: > > From a GWT app I'm calling my Web2py server app. > > String json

Re: [web2py] Re: where is the json data when using GWT's RequestBuilder() ?

2013-06-07 Thread Carl Roach
thanks. both request.vars and response.body.read() are empty. I'm calling my function: http://127.0.0.1:8000/init/default/call.jsp I think it must be something in my Java GWT app that's not setting something for Web2py to identify that there is json data. On 7 June 2013 20:16, Niphlod wrote:

Re: [web2py] Re: where is the json data when using GWT's RequestBuilder() ?

2013-06-08 Thread Niphlod
independantly from the headers, whatever is sent is inside request.body.read() . if it's empty, you GWT isn't sending any data . On Friday, June 7, 2013 10:54:38 PM UTC+2, Carl wrote: > > thanks. both request.vars and response.body.read() are empty. > > I'm calling my function: http://127.0.0.1:8