Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to pass arrays though context variables in http body of trest component.
Example as below:
Context.a=b,c,d
input in http body:
{[
\"param\":\""+ context.a+\"]}
Output should be as:
param: {["b","c","d"]}
try using the tWriteJson to create your body
and, use tMap to send this as 'string' to tRestClient
the tRestClient accepts 'Document' (as xml) and 'string' (as json/text)
@Sindhura V S , You need to pass below way.
"{[\"param\":\""+ context.a+"\"]}"
Thanks,
Manohar