Facing issue in CORS Policy
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2019
04:52 AM
05-08-2019
04:52 AM
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.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2019
07:09 AM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2019
02:57 PM
11-07-2019
02:57 PM
For information about CORS, please take a look at https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/cors.md.
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
