List of json objects to string

I have to convert a list of json objects to json string and hit in the http request body property.
Here in the backend its accepted as list of json objects and also i tested in POSTMAN it was working.

please refer the below format which must be send as body.
[
{ “key”:“value”,“key2”:“value2”},
{“key3”:“value3”,“key4”:“value4”},
{“key5”:“valu5”,“key6”:“value6”}

]

Same is working in postman and getting 200 response but in UiPath httprequest body getting 400 request body not in expected format error.

Hi @Sree_Krishnan_vellinezhi ,

Did you try serializing the data before passing it in as Body?

Kind Regards,
Ashwin A.K

Yes tried not working

what was done in detail?

this is a JSON string and should be useable within a body, when needed as a payload

[
{ "key":"value","key2":"value2"},
{"key3":"value3","key4":"value4"},
{"key5":"value5","key6":"value6"}
]

This i need to send in httprequest activity body property while sending this am getting request body error from the backend.

But same if i hit in postman its accepted

still

as we don’t know if it was used directly or as a variable and how in detail

also check that all settings were correctly ported from working POSTMAN to HttpRequest