I'm wondering how to go about obtaining the value of a POST/GET request variable using Python with Flask.
With Ruby, I'd do something like this:
variable_name = params["FormFieldValue"]
How would I do this with Flask?
If you want to obtain data from a POST request you can use: request.form["var_name"]
If you want to obtain data from a GET request you can use: request.args["var_name"]