diff --git a/ai_ta_backend/main.py b/ai_ta_backend/main.py index 5e05684a..6f60d388 100644 --- a/ai_ta_backend/main.py +++ b/ai_ta_backend/main.py @@ -405,6 +405,15 @@ def logToNomic(): print("conversation: ", conversation) print("print json: ", request.get_json()) + data = request.get_json() + print(len(data)) + print(type(data)) + + course_name = data['course_name'] + conversation = data['conversation'] + + print("course_name: ", course_name) + print("conversation: ", conversation) if course_name == '' or conversation == '': # proper web error "400 Bad request"