I am trying to get data from the request, I tried below-mentioned methods, I got None or {}.
Here is what I tried,
request.form['text']
request.form.get('text')
request.form.to_dict()
request.form.getlist('text[]')
request.form.getlist('text')
I am sending json data using apid clies (Advanced Rest Client).
Here is the data sample,
 [{
    "from": "971559xxxxxx",
    "id": "ABEGkZiAOQVVxxxxxxxxxxxxqEZ7KVtbxxxxx",
    "profile": {
        "name": "John Doe"
    },
    "text": {
        "body": "hi"
    },
    "timestamp": "1562080688",
    "type": "text",
    "to_number": "+971xxxxxxx"
    }]
 
    