Answers for "flask send data to python"

1

posted data to flask

from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route('/post')
def post():
    res = request.json
    return jsonify(res)
  
app.run()
Posted by: Guest on May-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language