<ol>
<li>
<p>The format=jscallback param is not understood by any API except hloc.  It is being ignored here.</p>
</li>
<li>
<p>I don't know what you mean by not outputting a clean json format.  The two URLs you provided return well-formed pretty-printed json.  If you want to see it in pretty format in your browser, just "view source".</p>
</li>
</ol>
<blockquote>
<p><a href="https://markets.bisq.network/api/trades?market=all&format=jscallback" rel="nofollow">https://markets.bisq.network/api/trades?market=all&format=jscallback</a><br>
<a href="https://markets.bisq.network/api/trades?market=btc_usd&format=jscallback" rel="nofollow">https://markets.bisq.network/api/trades?market=btc_usd&format=jscallback</a></p>
<p>These are both blocked and for some reason their not outputting a clean json format:</p>
</blockquote>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq-markets/issues/14#issuecomment-431127950">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtmiGp3Xv0ZhgQjz_t8idYvCXv4G9ks5umNPUgaJpZM4XbRV8">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtr9o8d0lDDF1-l6zsx7VObkJ4zCkks5umNPUgaJpZM4XbRV8.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq-markets","title":"bisq-network/bisq-markets","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq-markets"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dan-da in #14: 1. The format=jscallback param is not understood by any API except hloc.  It is being ignored here.\r\n\r\n2. I don't know what you mean by not outputting a clean json format.  The two URLs you provided return well-formed pretty-printed json.  If you want to see it in pretty format in your browser, just \"view source\".\r\n\r\n\u003e https://markets.bisq.network/api/trades?market=all\u0026format=jscallback\r\n\u003e https://markets.bisq.network/api/trades?market=btc_usd\u0026format=jscallback\r\n\u003e \r\n\u003e These are both blocked and for some reason their not outputting a clean json format:"}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq-markets/issues/14#issuecomment-431127950"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq-markets/issues/14#issuecomment-431127950",
"url": "https://github.com/bisq-network/bisq-markets/issues/14#issuecomment-431127950",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [bisq-network/bisq-markets] Some API outputs don't support Cross-Origin Resource Sharing (#14)",
"sections": [
{
"text": "",
"activityTitle": "**dan-da**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@dan-da",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/bisq-markets\",\n\"issueId\": 14,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"bisq-network/bisq-markets\",\n\"issueId\": 14\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq-markets/issues/14#issuecomment-431127950"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 393024892\n}"
}
],
"themeColor": "26292E"
}
]</script>