How do I pass in a dictionary from python into react as an object? [duplicate]
I think jsonify will be used to pass a json object
def post(self):
x = 67
m = {"score": x, "keywords": {"Mrs. Johnson": 87}}
return jsonify({"data": m }) // make sure to import jsonify from flask