PredixDev / blobstore-samples

6 stars 11 forks source link

How to apply CORS filter in it? #7

Open pradeepdahima opened 7 years ago

pradeepdahima commented 7 years ago

While uploading image to blobstore api, I am facing the following of CORS. Please let me know how to apply Cross origin in it.

XMLHttpRequest cannot load https://xxx-blobstore-webservice-dev.run.aws-usw02-pr.ice.predix.io/blob/post. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://xxx-app-webportal-dev.run.aws-usw02-pr.ice.predix.io' is therefore not allowed access. The response had HTTP status code 403.

alekseibaryshnikov commented 5 years ago

So, any answers here? I have the same problem.