ciao!
avevo provato dal mio server locale.
adesso l'ho messo su un server condiviso, con queste impostazioni:
codice:
$(function () {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://indirizzo.test.com/XAllegroFrimm.cgi",
"method": "POST",
"dataType": "xml",
"headers": {
"Content-Type": "text/xml",
"Access-Control-Allow-Origin": "*"
},
"data": "......................."
}
$.ajax(settings).done(function (response) {
console.log(response);
}).fail(function (err) {
console.log(err);
});
});
stesso errore!
come posso fare???
perchè cmq anche a sito finito dovrò interrogare queste API da un hosting che non è lo stesso della API!