@app.route('/message', methods=['POST'])
def receive_message():
    error_response = {'error': 'No input_message in request'}
    if request.data:
        content = request.get_json()
        if ('input_message' not in content):
            return (error_response, 400)
        input_message = content['input_message']
        print(input_message)
        response_message = ('Hello, ' + input_message)
        response = {'message': response_message}
        return (response, 200)
    return (error_response, 400)
@app.route('/message', methods=['POST'])
def receive_message():
    error_response = {'error': 'No input_message in request'}
    if request.data:
        content = request.get_json()
        if ('input_message' not in content):
            return (error_response, 400)
        input_message = content['input_message']
        print(input_message)
        response_message = ('Hello, ' + input_message)
        response = {'message': response_message}
        return (response, 200)
    return (error_response, 400)