How to send array as parameter in API Call?
I just want to know how can I pass and array as parameter in Java,
Like:-
"list":[
{
"name":{{$randomFullName}},
"account":{{$randomAlphaNumeric}},
"accountbalance":{{$$randomInt}}
}
"Message": "Dear {{name}}, your {{$accountnumber}} has been credited with Rs.{{($accountbalance)}}.
}
I just want to pass name, account, account-balance in the message body.