POST -> PUT in update user
This commit is contained in:
parent
d32b09b712
commit
23d287e59a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue