So geben Sie die JSON -Antwort in Flask zurück
from flask import jsonify
@app.route('/summary')
def summary():
d = make_summary()
return jsonify(d)
NA RACE
from flask import jsonify
@app.route('/summary')
def summary():
d = make_summary()
return jsonify(d)
request.get_json(force = True)