I\'m new to web.py
. I used PHP alot. In PHP, POST parameter and GET parameter is stored in different global variables
For example:
curl http:/
There's actually an (undocumented?) _method
parameter that can be get
, post
or both
(the default) to return variables from the different sources. See the source for web.input(). So for example:
get_input = web.input(_method='get')
post_input = web.input(_method='post')
However, I've used web.py a lot, and never needed this. Why do you need to distinguish between input parameters in the query string and the data?