<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to pass an array of values in a query parameter in a trestclient component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-an-array-of-values-in-a-query-parameter-in-a/m-p/2499475#M141666</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have an JSON rest api where i need to do a POST request with 4 variables.&lt;/P&gt;
&lt;P&gt;In one of the variables ("Ids") I need to pass an array of values.&lt;/P&gt;
&lt;P&gt;In Postman this is working without any issues:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EspenH_1-1735318581325.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176084iEA6D0108BDD62671/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EspenH_1-1735318581325.png" alt="EspenH_1-1735318581325.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have created a trestclient job in Talend with the 4 variables. Everything works fine if i only pass one "Ids" value like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EspenH_3-1735318757858.png" style="width: 684px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176086iAD3C3939AA3F0FF6/image-dimensions/684x142?v=v2" width="684" height="142" role="button" title="EspenH_3-1735318757858.png" alt="EspenH_3-1735318757858.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Please, do any of you experts out there have a suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2024 17:08:23 GMT</pubDate>
    <dc:creator>EspenH</dc:creator>
    <dc:date>2024-12-27T17:08:23Z</dc:date>
    <item>
      <title>How to pass an array of values in a query parameter in a trestclient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-an-array-of-values-in-a-query-parameter-in-a/m-p/2499475#M141666</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have an JSON rest api where i need to do a POST request with 4 variables.&lt;/P&gt;
&lt;P&gt;In one of the variables ("Ids") I need to pass an array of values.&lt;/P&gt;
&lt;P&gt;In Postman this is working without any issues:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EspenH_1-1735318581325.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176084iEA6D0108BDD62671/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EspenH_1-1735318581325.png" alt="EspenH_1-1735318581325.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have created a trestclient job in Talend with the 4 variables. Everything works fine if i only pass one "Ids" value like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EspenH_3-1735318757858.png" style="width: 684px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176086iAD3C3939AA3F0FF6/image-dimensions/684x142?v=v2" width="684" height="142" role="button" title="EspenH_3-1735318757858.png" alt="EspenH_3-1735318757858.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Please, do any of you experts out there have a suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 17:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-an-array-of-values-in-a-query-parameter-in-a/m-p/2499475#M141666</guid>
      <dc:creator>EspenH</dc:creator>
      <dc:date>2024-12-27T17:08:23Z</dc:date>
    </item>
  </channel>
</rss>

