📜  设置允许的方法烧瓶 - Python 代码示例

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

代码示例1
from flask import Flask, request, render_template, url_for, redirect

@app.route("/signup/", methods = ['GET', 'POST'])
def signup():
    return "yay"