Switch TokenRefresh to HTTP GET
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Tue, 29 Dec 2015 20:55:10 +0000 (21:55 +0100)
committerManuel Bachmann <manuel.bachmann@iot.bzh>
Tue, 29 Dec 2015 20:55:10 +0000 (21:55 +0100)
commit0878627c7c4ca29e04621a48513018cbd4195124
treee64ccc76d07c20ea51e6b962c76eb94f1b0df82e
parent07bbb1900acc411da012291f6c0530230a1110e0
Switch TokenRefresh to HTTP GET

We are doing HTTP POST calls with no data in TokenRefresh
widget, which is time-consuming and can lead to crashes
with libmicrohttpd > 0.9.30. Use HTTP GETs instead.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
afb-client/app/Frontend/app.js
afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js