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
Error: Network Error #1414
Comments
Hello, |
Greetings! It looks like you're trying to ask for an endpoint on localhost:8080, while serving the web page on localhost:3000. When you make a request from one domain to another domain, this is called a Cross Origin Request. This requires a special set of permissions, which led to a deep subject called CORS (Cross Origin Resource Sharing). You can read all about it here: The browser will automatically send a preflight request, which uses an This can be a little tricky to get going, but hopefully I've given you enough to go read and learn :) I'm going to close this for now, but please do let me know if you run into any troubles as you forge ahead here. Good luck! |
Summary
use axios will error, use
jquery ajax
wil success ...,i try set header configContext
The text was updated successfully, but these errors were encountered: