Array splits itself when the elements inside it pass 100 during the api post

Asked

Viewed 22 times

0

I’m trying to post for my api but when the amount of items in my array exceeds 100 it splits up like this:

inserir a descrição da imagem aqui

But my api only accepts this array when it gets like this:

inserir a descrição da imagem aqui

What I should do for the array not to split?

Call code

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);
}
  • 1

    This is only in the console view. The array is continuous, there are no such divisions.

  • but this does not occur when I call the api...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.