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

0

Access to XMLHttpRequest at 'https://d2ihgfhyo7hgap.cloudfront.net/dsp/DM_Sans.zip?Expires=1707369418&Key-Pair-Id=K3PHFSFDFPN4258&Signature=V-2UHMJdMfRFBYFcrjkhjhgjJGn8Ts5rzbyuPTtFJW-8cr0GZC50GbBr6TcHMNBMNhC6HSvAloF9qg2k1AqdwBL1zUy9KEfR8Uf4YNgA3a6W75flxdCg8CvhCTBkmpJd3Mqv34ZLFW-6UwyYn0Shr0LpotU33Ik0j7jiFU3wY6R7LpFDRLJ2DI1ELhk7xa3VOaWxisr0zcphcgX4qJ7WCG6aojsBXy0-HHfQIAI62H9VRaCsEx00QiqJfQZawulvewiBXeM9O5VODOc8LWn7~5Vl1gBmMkVdc8ad-zAcrUXeZOsCjpPSpLU5N6Rm1w2X4qCn-BPJIlcg__' 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개 답변
0
profile picture
전문가
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠