diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index 5ea7260..5b555b0 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -6,5 +6,12 @@ app = Flask(__name__) def index(): return render_template('index.html') +@app.route('/control', methods=['POST']) +def control(): + return("hello") + + if __name__ == '__main__': - app.run(debug=True) \ No newline at end of file + app.run(debug=True) + +