📜  flask 从 url 获取变量 - Python 代码示例

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

代码示例2
from flask import request

@app.route(...)
def login():
    username = request.args.get('username')
    password = request.args.get('password')