Cors


#1

Hello guys,

Is CORS still available for public insight api?

I got this exception on OPTIONS request:

XMLHttpRequest cannot load https://test-insight.bitpay.com/api/addrs/utxo. Response for preflight has invalid HTTP status code 404
main.js:148 Error: CORS request rejected: https://test-insight.bitpay.com/api/addrs/utxo(…)

It was working few weeks ago for my test chrome application.


(Braydon Fuller) #2

Thanks for reporting, taking a look at this now.


(Braydon Fuller) #3

PR with fix: https://github.com/bitpay/insight-api/pull/481


(Braydon Fuller) #4

Please report any other bugs at: https://github.com/bitpay/insight-api/issues


(Braydon Fuller) #5

@r00z The issue has been resolved.


#6

thanks Braydon!