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

OPTIONS preflight error in Chrome #16

Open
emmanuelrflores opened this issue May 3, 2018 · 0 comments
Open

OPTIONS preflight error in Chrome #16

emmanuelrflores opened this issue May 3, 2018 · 0 comments

Comments

@emmanuelrflores
Copy link

emmanuelrflores commented May 3, 2018

When trying to make a basic call, I will get a preflight error

Failed to load https://myinstance.testrail.com/index.php?/api/v2/get_project/1: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 400. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Is there a way to set that? Or is there some other special setting I need to do?

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