Skip to content

Commit

Permalink
changed method to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Sep 11, 2023
1 parent 9d03c0b commit c223990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_ta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c223990

Please sign in to comment.