var vURL = "http://webs.academia.cat/assets/api_cicle/api/apinoticies.php"; $.ajax({ url: vURL, type: "POST", data: { codient: '039', tipusent: '2', paginacio: "false", format:'html', limit: '', detall: '?p=page/html/detallnoticia', param_idnoticia : '/' , totes_sense_cat : "true" }, success: function (r) { $("#retornHTML").html(r); } });