-1
You do not need to mount a string with the Json of your date object, Jquery.Ajax expects a Plain Object as an attribute for this parameter...
function DescontoCasa(){
var obj = { empresaId : 1 };
$.ajax({
type: "GET",
url: "https://loclhost:44328/api/financeiro/RelDescontoCasa",
data: obj,
contentType: 'application/json'
});
}
Somebody please.
– Jefferson
Paste the code and not a print of your ide
– Leandro Angelo