@app.route('/test', methods=['POST'])
def test():
    return _test(request.form['test'])

@app.route('/index')
def index():
    return _test('My Test Data')
Is it possible to make POST request in Flask?