I'm trying to read this link.
http://wsloterias.azurewebsites.net/api/sorteio/getresultado/1
with this method:
$.getJSON(" http://wsloterias.azurewebsites.net/api/sorteio/getresultado/1",function (json) {
alert(json.length);
});
But it doesn't work, and I don't know the reason :(
Some one can help me?
[edit]
I just want to read, the "json.length" its was just a test. I tried this with another .json, and worked. I want to know if a need to use some method that read without problems.