Skip to content
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

Request without the interceptor #2

Closed
gpessa opened this issue Jul 22, 2019 · 2 comments
Closed

Request without the interceptor #2

gpessa opened this issue Jul 22, 2019 · 2 comments

Comments

@gpessa
Copy link

gpessa commented Jul 22, 2019

I would like to know if there is a way to not use the interceptor in some calls, sometimes I have call which do not require the tokens.

@revmischa
Copy link
Member

I normally just use axios directly for such calls instead of using my configured AxiosInstance
What interface did you have in mind?

@ziplokk1
Copy link
Contributor

ziplokk1 commented Mar 4, 2020

@gpessa just use the global axios instance. or create an axios instance that isn't configured with the interceptor.

@gpessa gpessa closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants