I have this code at the time of accessing the url marks me the error 401 (Unauthorized) apparently does not receive the user and password because to access the page I need to authenticate, since I am making a request where I entered the curp and you should throw me the person's data. Thanks
var usr = "xmalmorthen",
pwd = "b16f550d147bf92e9455074d9edfe013",
server = "http://" + usr + ":" + pwd + "@wsrenapo.col.gob.mx/curp2",
service = "CURP",
method = "getInfo",
call = server + "/" + service + "/" + method + "/" + CURP;
var jqxhr = $.get(call, function(data) {
console.log (data);
app.MsgBox("Correcto");
}, "json")
.fail(function() {
app.MsgBox("Ocurrió un error al intentar conectar con el servidor...");
});