ExLibrisGroup/primo-explore-devenv

localhost: Failed to load resource: Request header field token is not allowed by Access-Control-Allow-Headers.

Closed this issue · 5 comments

I am following the instructions but am unable to use get/post requests from localhost. The console log gives there error:

[Error] XMLHttpRequest cannot load https://... due to access control checks.

How do I get around this?

@cbaksik ,

Can you specify the lime of code that is causing the problem?

If the problem is indeed with cross domain http calls - This is a browser constraint and not related to the development environment at all, it would have happened if you developed this on any other framework.

In that case, I don't think documentation is needed, We do not document general web development methods or best practices.