I'm trying to make a request in this format
$.get("http://meuurl.com/webservice", function (data) {
console.log(data);
}).fail(function (data) {
console.log(data);
});
But I get this error
Failed to load resource: the server responded with a status of 500 (Internal Server Error)