Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
EspenH
Partner - Contributor III
Partner - Contributor III

How to pass an array of values in a query parameter in a trestclient component?

Hi

I have an JSON rest api where i need to do a POST request with 4 variables.

In one of the variables ("Ids") I need to pass an array of values.

In Postman this is working without any issues:

EspenH_1-1735318581325.png

I have created a trestclient job in Talend with the 4 variables. Everything works fine if i only pass one "Ids" value like:

EspenH_3-1735318757858.png

If i try to send more than one "Ids" value its declined from the server. I have tried several different syntaxes to find a solution, but the requests is being declined from the api server.  

Is there a way to do this? I guess it is an alternative to iterate through all the "Ids" (about 400 in total) but I am hoping its possible to do this as in Postman.

Please, do any of you experts out there have a suggestion?

 

Labels (2)
0 Replies