I am using Angular 2.1.2.
I have an authentication token (using angular2-jwt) and if it expires my webApi call fails with a 401 error. I am looking for a solution where
Use a browser session:
https://developer.mozilla.org/de/docs/Web/API/Window/sessionStorage
Store the data as json string and then recreate form data if request fails.