Open tungalbert99 opened 8 years ago
For now, try with reverse proxy approach and it should work. Thanks.
Is it possible to implement in angularJS? Because we are getting 401 UnAuthorized error, we are not able to add predix-zone-id and authorization code.
XMLHttpRequest cannot load https://ie-media-service.run.aws-usw02-pr.ice.predix.io/media/file/1000000018_1469316552669_IMAGE. Request header field Predix-Zone-Id is not allowed by Access-Control-Allow-Headers in preflight response.
Somehow the HTTP Request fails for images on browsers such as Google Chrome(works fine for PostMan/curl). The specific API does not seem to have the specific authorization in the header (while the other APIs do).