📅  最后修改于: 2022-03-11 14:45:10.712000             🧑  作者: Mango
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')