Questions tagged [cors]

CORS (Cross-Origin Resource Sharing) allows browsers' XMLHttpRequest object to make cross-origin requests.

Filter by
Sorted by
Tagged with
2
votes
1answer
3k views

SPFx calls blocked by CORS policy

I'v been trying to access various apis through SPFx and I am constantly seeing this issue. I do not know how to fix this can anyone assist or explain what I am doing wrong or missing? This works ...
0
votes
3answers
2k views

“Cross-Origin Request Blocked” - how to bypass for REST queries

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource" I'm trying to use REST api to query a library to find all the file names in it so that I can populate a ...
0
votes
2answers
2k views

How to add multiple URL to Access-Control-Allow-Origin header in SharePoint 2013 web.config

To resolve the CORS issue I have added the following headers in the web.config file of SharePoint 2013 <add name="Access-Control-Allow-Origin" value="http://localhost:4200" /> <add name="...