'Inputs different values ​for server

Can someone help me?

I need to get different values ​​from these inputs to send via ajax post. I only get equal value.

{
                            Bairro: $("input[name='Bairro']").val(),
                            Numero: $("input[name='Numero']").val(),
                            Logradouro: $("input[name='Logradouro']").val(),
                            
                        },
    
                        {
                            Bairro: $("input[name='Bairro']").val(),
                            Numero: $("input[name='Numero']").val(),
                            Logradouro: $("input[name='Logradouro']").val(),
    
                        },

Ajax:

$.ajax({
                url: 'api/cliente',
                type: "POST",
                data: JSON.stringify(data),
                dataType: "json",
                contentType: 'application/json; charset=utf-8',
                success: function (data) {
                    alert(JSON.stringify(data));
                },
                "error": function (result) {
                    var response = result.responseText;
                    alert('Erro: ' + response);
                },

            });


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source