How to pass json as variable in body fot HTTP post request

Hi guys,
Below Json Format
[
{“accountNumber”:“12345”},'‘personName":“xyz”,“role”:“manager”,“status”:“pass”},
{“accountNumber”:“23456”},’‘personName":“abc”,“role”:“Assistant manager”,“status”:“pass”},
{“accountNumber”:“32145”},’'personName":“qwe”,“role”:“General manager”,“status”:“pass”},
]

In above body i need to pass oracle db via HTTP post request

the above json stored in variable and that variable i have in body for HTTP post request, but its not working

please anyone help this

Main.xaml (7.5 KB)

Regards
Raja G

Hello!

In the workflow you sent, you are deserializing the DataTable, but you need to serialize the it into a JSON string: JsonConvert.SerializeObject(dtTable)

1 Like

Hello Raja,
In this video I work with a complex JSON:

Thanks,
Cristian Negulescu

Hi @Cristian_Negulescu,

ok i will show above the video , but i got a output already the problem is quotation mark so find and fixed

Regards,
Raja G

1 Like

Hello @Raja.G,
Please mark as solved and this will look for future comments.
Thanks,
Cristian Negulescu

can you give me the resolution document?

your video can not be opened in china