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 Antwort
0
profile picture
EXPERTE
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen