From 52eff9ec399f52dc578feef3e0ccd5be1d8f79bc Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Thu, 19 Dec 2024 22:02:36 +0100 Subject: [PATCH] return JSON response for /data endpoint --- src/Python/flask/web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index f69355f..dc68273 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -76,7 +76,7 @@ def move(): @app.route('/data', methods=['GET']) def data(): - return kobuki_message + return jsonify(kobuki_message) @app.route("/database") def database():