AskBid
March 18, 2019, 8:28pm
1
when I go to this API address with my browser I can visualise the JSON file related to it.
I tried to access it by Observable using the cors-anywhere.herokuapp.com but I get a SyntaxError: Unexpected end of JSON input.
here is notebook:
Any chance to make it work?
Thanks
bgchen
March 18, 2019, 8:57pm
2
I found a comment on SO which indicates that the bitmex API endpoint youāre targeting āseems to be purposefully blocking requests from frontend JavaScript codeā.
The comment afterwards suggests some solutions, including setting up this proxy on a server you control.
Perhaps you can hack together a proxy on glitch.com : https://glitch.com/search?q=proxy