I have this piece of code it is a post method (Python Flask),
@application.route('/try', methods=['POST'])
def tryPost() :
content = "```" + str(request.json) + "```"
return jsonify(content)
When i run the app locally and post json on postman to the http://127.0.0.1:5000/try , i can see the same json result.
But after i push my app to the aws elastic beanstalk, and i posted the same method it returned "```None```"
What would be the reason?
This the example json
{
"api_app_id": "A02",
"token": "Shh_its_a_seekrit",
"container": {
"type": "message",
"text": "The contents of the original message where the action originated"
}
}