[bisq-network/bisq-markets] Some API outputs don't support Cross-Origin Resource Sharing (#14)

Pedro Goncalves notifications at github.com
Thu Oct 18 00:27:15 UTC 2018


I just need to be able to access the API via a jquery getJson get
`$.getJson( "https://markets.bisq.network/api/trades?market=all&format=jscallback", function( data ) {
     //build trade tables
  });`

https://markets.bisq.network/api/trades?market=all&format=jscallback
https://markets.bisq.network/api/trades?market=btc_usd&format=jscallback

These are both blocked and for some reason their not outputting a clean json format:

![screen shot 2018-10-17 at 8 11 49 pm](https://user-images.githubusercontent.com/807505/47124129-444b5280-d24a-11e8-9de4-2c7ff5543aa1.png)


I just need to be able to test it from my localhost and I'm still getting this error: 
![screen shot 2018-10-17 at 8 24 11 pm](https://user-images.githubusercontent.com/807505/47124224-c76ca880-d24a-11e8-9f7a-03cae8adcad8.png)

Unfortunately I don't have the skills required to fully set up a local version of the markets API by by myself.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-markets/issues/14#issuecomment-430834240
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181017/d12963b7/attachment-0001.html>


More information about the bisq-github mailing list