No 'Access-Control-Allow-Origin' header is present on the requested resource.


Access to XMLHttpRequest at '' from origin 'http://localhost:8101' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

NOTE: Duplicate Url

When I try to do get request to this cloudfront url I am getting a CORS error. Basically what I am trying to do is download the file in my angular application using httpclient get request. If I just open the cloudfront url in the browser it is opening but using get request I am getting this CORS error. Can anyone help me resolve this issue

1 Answer
profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions