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

Why does nuxtjs/axios trigger options requests #591

Open
JiaLuo opened this issue Oct 19, 2022 · 0 comments
Open

Why does nuxtjs/axios trigger options requests #591

JiaLuo opened this issue Oct 19, 2022 · 0 comments

Comments

@JiaLuo
Copy link

JiaLuo commented Oct 19, 2022

In the request interceptor, it's just set
content-type:application/x-www-form-urlencoded;
config.withCredentials = true;
When the browser calls the interface, the options request will be triggered. How can I set it to not trigger the options request

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

1 participant