In webpy, the form of data access web.input or general use?

Webpy, post form data web.input or for general use?
Two what is the difference between them?
The general who is better? Thank thank

Started by Ignativs at February 03, 2016 - 9:02 PM

class RequestHandler():
def POST():
data = # you can get data use this method

Posted by Stuart at February 07, 2016 - 9:56 PM

I know this
But web.input can also be ah what are the differences between the two?

Posted by Ignativs at January 06, 2017 - 8:24 PM

web.input(),Acquiring the URL parameter, the return value is similar to the key-value on the dictionary, can be used for GET and POST.,Gets the solid body, the return value is a string, can only be used for POST.

PS: people have been using input, simple, direct, convenient

Posted by Rupert at January 08, 2017 - 7:50 PM


Posted by Grace at January 09, 2017 - 7:55 PM