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

ionic2 cordova build android - Unable resolve gradle 2.2.3

A quick tutorial for OWASP ZAP tool for beginners