I was working with cordova for visual studio 2013 without any problems. Today i installed VS2015 preview and tried to port my project but got stuck with a simple web request.
So i created a new project to test this behavior in a clean environment. I added jquery und a small script:
var url = "http://thetvdb.com/api/GetSeries.php?seriesname=The%20Walking%20Dead";
var request = $.getJSON(url, function(data) {
});
but i always get:
Failed to load resource: net::ERR_EMPTY_RESPONSE
and during debugging i can see that the requested url starts with:
http://localhost:4400/ripple/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=
followed by the url I want.
the config.xml contains:
<access origin="http://thetvdb.com" />
<access origin="*" />
i also tried to add this before the jquery call:
$.support.cors = true;
I'm not really sure if the problem is my fault.. but if it is, please tell me ;)
Thanks very much for your help!