I'm currently trying to make some ajax post between cross-domains by following this tutorial but something wrong some data wasn't send.
Actually my proxy script is a copy of the tutorial and this my javascript :
$.ajax({
type: 'POST',
data: data + '&origin=' + origin,
url: 'customer.php',
dataType: 'json',
async: false,
success: function(result){
if (result.id && result.quotation_id){
id = result.id;
quotation_id = result.quotation_id;
}
}
});
Solved by making a php script with curl :