I tried to use something like that but its showing me the alert Servidor de error 404 !! in error
$.ajax({
type: 'GET',
url: surl,
crossDomain: true,
contentType: "application/json; charset=utf-8",
data: { id: '143d8747-cd5b-40c6-a243-54da8cf7256c' }
dataType: "jsonp",
success: function (msg) {
console.log(msg);
},
error: function (xhr, status, error)
{
alert('Servidor de error 404 !!');
},
async: false,
cache: false
});