I am trying to integrate the Microsoft Translator Text API to a SharePoint online site, and the method that I am using is with sharepoint framework webpart. but when I press the button to do the API call and error is popping up:

"has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request".



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.