You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have a hook like the beforeSend on Jquery ajax. Sometimes you might want to change some headers dinamically (im passing user auth token on header and this token can change as the user login/logoff my application). This way i could check storage/memory before sending the request for the current token.
The text was updated successfully, but these errors were encountered:
I had this necessity myself in the past (issue #15) and, in the end, I solved the problem in a different way. This feature combined with URL matching and global configurations can be really powerful. I'll keep this issue open to track the addition of this feature.
It would be good to have a hook like the beforeSend on Jquery ajax. Sometimes you might want to change some headers dinamically (im passing user auth token on header and this token can change as the user login/logoff my application). This way i could check storage/memory before sending the request for the current token.
The text was updated successfully, but these errors were encountered: