Fix Python – How to get POSTed JSON in Flask?

I’m trying to build a simple API using Flask, in which I now want to read some POSTed JSON. I do the POST with the Postman Chrome extension, and the JSON I POST is simply {“text”:”lalala”}. I try to read the JSON using the following method:
@app.route(‘/api/add_message/‘, methods=[‘GET’, ‘POST’])
def add_message(uuid):
content = request…..