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)