📜  将数据发布到烧瓶 - Python 代码示例

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

代码示例1
from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route('/post')
def post():
    res = request.json
    return jsonify(res)
  
app.run()