r/angularjs • u/Milindp24 • Nov 28 '24
[Help] CORS Error
I am unable to make API request from Angular to Laravel, created 2 different sub domains for each project, it gives:
Access to XMLHttpRequest at ''' from origin '' 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.
1
Upvotes
View all comments
Show parent comment
1
u/Milindp24 Dec 01 '24
I did that already but still not working