📜  烧瓶读取表单数据 - Python 代码示例

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

代码示例1
from flask import Flask, request
app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    data = request.form['input_name']  # pass the form field name as key
    ...