1.404
post方式用(url="xxx",data="xxx")
get方式用(url="xxx",params="xxx")
2.api注册的问题
from flask import Flask from views import api //blueprint用的相关前缀 app = Flask(__name__) app.register_blueprint(api, url_prefix='/api') //在app = Flask(__name__)后注册蓝图 访问时才能找到/api/xxx的路径