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