Consuming Azure API using Jquery (AJAX)
Masanipally, Ravindranath
6
Reputation points
Hi,
I'm consuming Azure API in Jquery using AJAX method, getting the error "Access to XMLHttpRequest at XXX from origin YYY has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request".
While running the API in Postman, able to get results.
But getting error while using in the Code. Do i need to add any more parameters.
Thank you.
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
Sign in to answer