Forum Discussion

dibyakalyan's avatar
dibyakalyan
Occasional Visitor
6 years ago

Facing issue in CORS Policy

Hi,

 

I am getting CORS Policy error when  trying to call one swagger application which has been deployed in XXX.com domain from another YYY.com domain.

Kindly find the error description below.

 

 Access to XMLHttpRequest at 'http://XXX.com/swagger/rest/swagger.json' from origin 'http://YYY.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

Need help on the above mentioned isuue.

 

Thank you.