From c22399025e54a18ed2378a00448b454fa4fd816a Mon Sep 17 00:00:00 2001 From: star-nox Date: Mon, 11 Sep 2023 13:47:40 -0500 Subject: [PATCH] changed method to POST --- ai_ta_backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_ta_backend/main.py b/ai_ta_backend/main.py index a456828a..645b3732 100644 --- a/ai_ta_backend/main.py +++ b/ai_ta_backend/main.py @@ -395,7 +395,7 @@ def nomic_map(): response.headers.add('Access-Control-Allow-Origin', '*') return response -@app.route('/onResponseCompletion', methods=['GET']) +@app.route('/onResponseCompletion', methods=['POST']) def logToNomic(): course_name: str = request.args.get('course_name', default='', type=str) conversation: str = request.args.get('conversation', default='', type=str)