I'm doing an ajax query from an external website. I receive the site data well but in json, I would like to send the response to php. This is the ajax code
var datos = {"Nombre:" : "Alejandro"};
var url = "http://quasar.e-htl.com.br/booking/hotels-availabilities";
$.ajax({
type: "POST",
url: url,
data: datos,
dataType: "json",
success: function(data)
{
console.log(data);
$('#resp').html(data);
}
});
I receive the data from the url well and it shows it to me in the console.log, but I would like to send them to php