Flask working with post query string, form data and json post



Flask provides the following method to work with query string, form data and json.

For query string use

request.args.get('textinput')


For Form use

request.form.get('textinput')

For Post json

jsonData = request.json






Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm