📜  python烧瓶查询参数 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:10.712000             🧑  作者: Mango

代码示例1
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')