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