-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interceptors #7
Comments
Axios is bundled with plugin Use wrapper methods to guide reponses accordingly
~ However, I agree that it should be enhancement if |
@nmihaica and how i can use an adapter like https://github.com/ctimmerm/axios-mock-adapter when need pass the axios instance |
I would then stick with plain |
It would be nice to have interceptors for adding a trailing slash as in this example axios/axios#757 (comment) |
I agree too. This would be nice, because currently I have other actions on my API that aren't CRUD and I already have the interceptor setup for the calls that pass by vanilla axios. Please allow us to use the interceptor of axios itself! |
How i can configure a interceptor for example refresh a token?
The text was updated successfully, but these errors were encountered: