Skip to content

Commit 32ea94a

Browse files
committed
changed method for quiz
1 parent 7651057 commit 32ea94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/flaskr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def retrieve_questions_by_category(category_id):
306306
and shown whether they were correct or not.
307307
"""
308308

309-
@app.route("/quizzes", methods=["GET"])
309+
@app.route("/quizzes", methods=["POST"])
310310
def play_quiz():
311311
#try:
312312
quiz_request = request.get_json()

0 commit comments

Comments
 (0)