Open SEGACD32XMODEL1 opened 1 year ago
Same problem here.
@SEGACD32XMODEL1 I found a pretty good explanation on CORS here: https://stackoverflow.com/questions/43262121/trying-to-use-fetch-and-pass-in-mode-no-cors
TL;DR - The suggestion is to use a CORS proxy which adds CORS headers to the proxied request.
You can find such a proxy in the first URL in the list: https://cors-anywhere.herokuapp.com/https://www.buzzfeed.com/world.xml
The first part of the URL is the proxy, and the second part is the URL you would like add the missing header.
To use the proxy you would first need to go to the URL and click "Request temporary access to the demo server".
You would probably want to have your own CORS proxy on Heroku or anywhere else. https://github.com/Rob--W/cors-anywhere
I can't get around the CORS issue. Even your demo has CORS issues.