Yes, the posted variables should be in request.vars (more specifically, you should use request.post_vars, as request.vars also combines data from request.get_vars, which are the query string variables).
Anthony On Tuesday, May 20, 2014 6:27:29 PM UTC-4, Cory wrote: > > Hi, > I am trying to access the contents of a post request made to a url on my > website. > To test this I have been trying to send post requests to a url on my > website to see I if am able to get the data from the post. > Does anyone know how I can access the post data? am I accessing it > correctly > by using "request.vars"? > thanks! > > def post_sender(): > requests.post(url,data) > > def post_receiver(): > if request.vars: > do stuff with data > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

