ajax call pass variable number of parameters code example
Example: add parameters ajax request
$.ajax({
type: 'POST',
url: '/test',
data: { abc: 123 },
success: function(resp) { }
});
$.ajax({
type: 'POST',
url: '/test',
data: { abc: 123 },
success: function(resp) { }
});