Title: blockchain.info HTTP API support for CORS? Post by: w1R903 on April 05, 2013, 03:05:47 PM It would be absolutely awesome if blockchain.info could support CORS:
Access-Control-Allow-Origin: * It would allow client-side projects to access the blockchain.info API without having to resort to hacks like using YQL. Title: Re: blockchain.info HTTP API support for CORS? Post by: whydifficult on April 21, 2013, 05:28:45 PM You could try to use corsproxy (http://www.corsproxy.com/)
Not sure about the load it can handle though. Title: Re: blockchain.info HTTP API support for CORS? Post by: bitpop on May 02, 2013, 11:48:32 AM Damn could've used this when s3 couldn't serve fonts
Title: Re: blockchain.info HTTP API support for CORS? Post by: piuk on May 07, 2013, 11:03:36 PM What is the intended usage?
Title: Re: blockchain.info HTTP API support for CORS? Post by: bitpop on May 08, 2013, 12:10:24 AM I'm assuming ajaxing the feeds
Title: Re: blockchain.info HTTP API support for CORS? Post by: piuk on May 15, 2013, 04:36:22 PM You can now add a cors=true parameter to most requests if you need the header e.g.
http://blockchain.info/unspent?cors=true Title: Re: blockchain.info HTTP API support for CORS? Post by: w1R903 on May 28, 2013, 02:54:51 PM You can now add a cors=true parameter to most requests if you need the header e.g. http://blockchain.info/unspent?cors=true Great, thanks so much! Title: Re: blockchain.info HTTP API support for CORS? Post by: enriquez on March 08, 2014, 07:01:36 AM You can now add a cors=true parameter to most requests if you need the header e.g. http://blockchain.info/unspent?cors=true Which API calls support CORS? I can get the "Access-Control-Allow-Origin" header back with this: Code: curl -v -H "Origin: http://example.com" \ This does not respond with that header: Code: curl -v -H "Origin: http://example.com" \ Am I doing something wrong? |