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

Pedro Goncalves notifications at github.com
Sun Oct 14 18:49:15 UTC 2018


- /api/trades
- /api/offers
- /api/depth 

All return either one of these messages when requesting a result via jquery's get.json:

**`.getJSON(jsonUrl+'&callback=?', function (data)`**

`Cross-Origin Read Blocking (CORB) blocked cross-origin response https://markets.bisq.network/api/volumes?basecurrency=BTC&milliseconds=true&timestamp=no&interval=minute&timestamp_from=&timestamp_to=&format=jscallback&fillgaps=&callback=jQuery331036382736050173126_1539448963683&callback=?&_=1539448963684 with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.`

AND

`Failed to load https://markets.bisq.network/api/trades?market=all&format=jscallback&callback=?: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4000' is therefore not allowed access.`


<a href="https://imgbb.com/"><img src="https://image.ibb.co/bEZF8p/Pasted-Graphic-1.png" alt="Pasted-Graphic-1" border="0"></a>

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181014/4a4297b7/attachment.html>


More information about the bisq-github mailing list