Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python flask query params

from flask import request

@app.route('/data')
def data():
    # here we want to get the value of user (i.e. ?user=some-value)
    user = request.args.get('user')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #flask #query #params
ADD COMMENT
Topic
Name
3+1 =