I can't get the request.args from an index function.

E.g.: within app 'fruit' I have a controller 'salad', like so:

# web2py/applications/fruit/controllers/salad.py
def index()
    print request.args
    return dict()

# curl -X GET localhost/fruit/salad/foo

# web2py console output:
[]

How to get request.args from an index() function?

Thanks for all suggestions,

Alec Taylor

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to