Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
AndriiHolubov
Contributor
Contributor

Retreving json array using tRestRequest

Hello,

I am using Talend ESB 6.1 and I would like to know how can I retrieve json array from request using tRestRequest component.

I am sending this array as a query parameter ( I MUST use it this way) --> example: http://localhost:8088/array?parameters[id]=565&parameters[name]=Example value

How can I get those array elements? I must build a REST service, so I guess I need to use tRestRequest component. I tried putting different Type of query parameter (String, Document, Object, List) for retrieved array but nothing worked. I tried using Debug Run and it seems like that array wont be received by talend at all (null value).

I'd appreciate any help or suggestion.

Thank you.

0695b00000HsHRPAA3.png0695b00000HsHRAAA3.png

Labels (2)
0 Replies