BitMEX-nodejs icon indicating copy to clipboard operation
BitMEX-nodejs copied to clipboard

Getting CORS issue for the example code (trade bucket)

Open Jarrio opened this issue 6 years ago • 0 comments

Do you have any advice on how to work around this issue? Access to fetch at 'https://www.bitmex.com/api/v1/trade/bucketed?binSize=5m' from origin 'http://192.168.0.8:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I'm using this with reactjs

Jarrio avatar Feb 15 '19 21:02 Jarrio