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 header field Authorization is not allowed by Access-Control-Allow-Headers #7

Open
JamesYuan opened this issue Jul 17, 2014 · 1 comment

Comments

@JamesYuan
Copy link

I encounter such errors when request resources from other site.

XMLHttpRequest cannot load http://hp8:8080/rest/test. Request header field Authorization is not allowed by Access-Control-Allow-Headers.

Does it need any settings in express server?

Thanks,
James.

@JamesYuan
Copy link
Author

I have resolved this, add the authorization header in the server side.

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