[web2py] Re: web2py not reading Amazon SNS Subscription Confirmation requests?

2012-08-09 Thread Osman Masood
Thanks Massimo! It worked. request.body.read() had the JSON. On Thursday, August 9, 2012 9:42:05 AM UTC+8, Massimo Di Pierro wrote: > > There is nothing in request.args because I assume the URL is called > without args. > There is nothing in request.vars because the request contains no HTTP > va

[web2py] Re: web2py not reading Amazon SNS Subscription Confirmation requests?

2012-08-08 Thread Massimo Di Pierro
There is nothing in request.args because I assume the URL is called without args. There is nothing in request.vars because the request contains no HTTP variables. It is an HTTP post with a json data in the request body. HTTP does not know anything about json. Web2py has no clue or way to guess t