I'm trying to make a post for my api, but when the amount of items in my array exceeds 100 it splits up like this:
Butmyapionlyacceptsthisarraywhenitlookslikethis:
WhatshouldIdotothearraynottosplit?
Callingcode
try{$http({url:$rootScope.raiz_ws+"/xxxx/Gravar?parametro=" + $scope.pesq.parametro,
method: "POST",
data: { 'Itens': $scope.pesq.listpesq }
}).then(function (response) {
alert(response.data.mensagem);
$scope.Pesquisar();
});
} catch (e) {
console.log(e);
}