From d7f3d8d465e48429ebd7c677a3aeb32d41c889d6 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Tue, 16 Jun 2015 18:16:01 +0300 Subject: [PATCH] API: Fixing Update User Method GET->POST --- SE_API/UserRoutes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SE_API/UserRoutes.py b/SE_API/UserRoutes.py index efad1bc..c0471c3 100644 --- a/SE_API/UserRoutes.py +++ b/SE_API/UserRoutes.py @@ -70,7 +70,7 @@ def getUserByToken(token): return bad_request("No User Found") -@user_routes.route('/api/users/updateUser/', methods=["GET"]) +@user_routes.route('/api/users/updateUser/', methods=["POST"]) @auto.doc() def updateUser(token): """