From a73a806fb24e1e20812ea941ac698a4210252a28 Mon Sep 17 00:00:00 2001 From: samerbam Date: Thu, 24 Aug 2023 16:59:35 -0400 Subject: [PATCH] api/todos/print get -> post --- application/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/main.py b/application/main.py index d0c0663..a792b1a 100644 --- a/application/main.py +++ b/application/main.py @@ -118,7 +118,7 @@ def write_todos(todos: TodoList, auth_result: str = Security(auth.verify)): # return {"result": "success"} -@app.get("/api/todos/print") +@app.post("/api/todos/print") def print_todos(action: PrintAction, auth_result: str = Security(auth.verify)): """A valid access token is required to access this route"""