diff --git a/app.py b/app.py index 65645da..a8a184a 100644 --- a/app.py +++ b/app.py @@ -25,6 +25,10 @@ def home(): @app.route("/report", methods=["POST"]) def report(): + return record() + +@app.route("/record", methods=["POST"]) +def record(): data = request.get_json() n_ts = 0 n_dp = 0