ExodusMovement/cryptocompare

Fetching from '/coinsnapshotfullbyid/?id={id}' route fails with CORS error

Closed this issue · 1 comments

Probably it might be unrelated to cryptocompare package, as this route isn't included in this package, but fetching data from from "https://www.cryptocompare.com/api/data/coinsnapshotfullbyid/?id={id}" fails for me with this error:

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.

I did set a 'Access-Control-Allow-Origin': '*' header for the request, but it still fails for me.

Does this route requires extra parameters that are not mentioned in docs?
Thanks

You'll need to contact cryptocompare about this.