views:

21

answers:

2

Is it possible to read JSON feed available in another site which is HTTPS? I'm getting empty string in return.

A: 

It is possible as long as you respect the same origin policy. For cross domain AJAX you could use JSON/P or if you don't have control over the distant domain and it doesn't expose a JSON/P data you might need to setup a server side script on your domain that will act as a bridge between both domains.

Darin Dimitrov
A: 

You also want to check out CORS

http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/

mplungjan