Currently, the only way to call the API from javascript is to use JSONP, however this can be cumbersome and has security issues. Cross origin resource sharing is included in most modern browsers in some form, but needs to be enabled by headers for security reasons.

Similar features have already been enabled in Flash and Silverlight, and doing the same for javascript would be useful.

link|improve this question
Just out of curiosity... which browsers currently support this? – George Edison Jul 17 '11 at 19:15
@George Edison: caniuse.com/cors – Simon Brown Jul 17 '11 at 19:35
Cool. I would love to see this implemented. – George Edison Jul 19 '11 at 6:32
feedback

You must log in to answer this question.

Browse other questions tagged