Forum Discussion
TarundeepSinghTheta
Dec 02, 2019Copper Contributor
CORS policy error in SPFX
Error I receive in the browser: 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 request...
Pradeep_Sharma_911
Dec 14, 2022Copper Contributor
Hi TarundeepSinghTheta , just wondering if you found any solution for this. I'm also facing the same. I found one article by Ravichandran K (https://ravichandran.blog/2021/09/25/accessing-third-party-api-without-cors-error-in-spfx-using-azure-function/) I'm looking for some other ways apart from this (azure function app). I'm trying to access yammer post api mentioned here https://learn.microsoft.com/en-us/rest/api/yammer/group_membershipsjsongroup_idid