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
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:
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
3 matches
Mail list logo