Try to insert query its doesnt work from jsf

I try this query through postman and its work, but when i try launch query ajax from mi JSF page doesnt work, this is my code:

      $  .ajax({         type : "POST",          url : "http://localhost:8080/users",         headers: {             'Accept': 'application/json',             'Content-Type': 'application/json'         },         dataType: "json",        data:{ "nombre":"fdgdgfdsg" ,"edad":"21", "cp": "41020", "direccion": "dsgsdfgdfg", "telefono": "654123456", "dni": "81301635Q", "apellidos": "sdfasfsadfafs", "correo": "" },          success: function (data) {        },       error: function (xhr, ajaxOptions, thrownError) {     console.log(JSON.stringify(data));         console.log(xhr.status.message);         console.log(thrownError.message);         console.log(xhr.responseText.message);         console.log(xhr.message);       }       });    }