Gangadhar
8 years agoOccasional Contributor
How to convert Datasource values(Data) to json array in Post request body?
Hi,
Can you please advise how to take a list of values (e.g. in Excel) and then convert that to json array. I am getting values from excel in DataSource but I am unable to convert those values to json array in request body editor.. Please find the attachments.
In request body I need json like below
[ { "tcId":"ab_5",
"tcName":"ab5",
"tcDesc":"abc5",
"tcType":"Other",
"tcPriority":"Low" }]
Can anybody help me to get json array as above in post request editor from Datasource ?
Thanks & Regards,
Gangadhar Badagi