我正在尝试这样做:
@get("/admin/questions/:question_id")
def question (question_id):
pass
#Some code for returning the question
@put("/admin/questions/:question_id")
pass
#I intend to write some code to update the question here.
这可能吗?GET 和 POST 确实有效,但 PUT 显然不起作用。