From 23d287e59ac0aed474628f45dd7244bfdec33819 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Wed, 24 Jun 2015 13:16:19 +0300 Subject: [PATCH] POST -> PUT in update user --- templates/js/services/apiService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/js/services/apiService.js b/templates/js/services/apiService.js index d6d1a03..92871d4 100644 --- a/templates/js/services/apiService.js +++ b/templates/js/services/apiService.js @@ -37,7 +37,7 @@ service.factory('apiService', ['$http', function($http) { var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/users/updateUser/" + token; req = { - method: "POST", + method: "PUT", url: url, data: payLoad };