Perhaps you can avoid the proxy server using a technique such as JSONP . Assuming that the web service you are talking to supports JSONP (for example, Flickr or Twitter both offer the JSONP API), or you control the data sent by the web service, you can send JSON data between domains using a library with JSONP functions.
For example, in jQuery you can make a remote JSON call:
jQuery.getJSON("http://www.someothersite.com/webservice?callback=?", function(result)
{
doStuffWithResult(result);
});
Since the call belongs to a different domain, jQuery automatically uses some tricks to make a cross-domain call. jQuery will automatically replace? in the url with the name of the callback function that the web service can use to format the returned JSON data.
-, JSONP, , " ", , . , JSON, . , "jsonp2342342", , - :
jsonp2342342({key: value, key2: value});
-, , JSONP, , .