X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=blobdiff_plain;f=afb-client%2Fapp%2FFrontend%2Fwidgets%2FNotifications%2FTokenRefreshSvc.js;fp=afb-client%2Fapp%2FFrontend%2Fwidgets%2FNotifications%2FTokenRefreshSvc.js;h=82e43a5dd88c73a2b8e2d06080ed1f3e2d414d44;hp=834aaff293f79a312c57c67e57ea3f17c4a626cd;hb=0878627c7c4ca29e04621a48513018cbd4195124;hpb=07bbb1900acc411da012291f6c0530230a1110e0 diff --git a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js index 834aaff..82e43a5 100644 --- a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js +++ b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js @@ -73,7 +73,7 @@ angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification']) // Check Binder status scope.getping = function() { - var handler = $http.post(ConfigApp.session.ping+'?token='+ ConfigApp.session.token); + var handler = $http.get(ConfigApp.session.ping+'?token='+ ConfigApp.session.token); // process success and error handler.success(scope.onsuccess); @@ -85,7 +85,7 @@ angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification']) // Check Binder status scope.refresh = function() { - var handler = $http.post(ConfigApp.session.refresh+'?token='+ ConfigApp.session.token); + var handler = $http.get(ConfigApp.session.refresh+'?token='+ ConfigApp.session.token); // process success and error handler.success(scope.onsuccess); @@ -96,7 +96,7 @@ angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification']) // Initial connection scope.tkcreate = function() { - var handler = $http.post(ConfigApp.session.create+'?token='+ ConfigApp.session.initial); + var handler = $http.get(ConfigApp.session.create+'?token='+ ConfigApp.session.initial); // process success and error handler.success(scope.onsuccess);