From 92992288b50db0354a79c445b86d5dab1b91d97a Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Tue, 17 Dec 2024 14:41:13 +0100 Subject: [PATCH] returned function i removed by accident --- src/Python/flask/web/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index c06e1cd..ec7f8b8 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -66,6 +66,10 @@ def move(): return jsonify({"status": "success", "direction": direction}) +@app.route('/data', methods=['GET']) +def data(): + return kobuki_message + @app.route("/database") def database(): db = get_db()