<?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 Programmatically load REST data in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Programmatically-load-REST-data/m-p/1860669#M9862</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am new to Qlik and I am trying to programmatically query a REST endpoint, using parameters that I have previously loaded with another endpoint.&lt;/P&gt;
&lt;P&gt;Basically, in pseudocode:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;GET "http://myapi/api/v1/Site?apikey=blablabla" // returns a table with a "SiteId" column.

for each vSite in SiteId:
  GET "http://myapi/api/v1/vSite?apikey=blablabla?param=extraparam
  NEXT&lt;/LI-CODE&gt;
&lt;P&gt;The WITH CONNECTION keyword seems to be what I am looking for, but I am missing some concrete example on how to use it when iterating over another table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 21:30:30 GMT</pubDate>
    <dc:creator>danabb</dc:creator>
    <dc:date>2021-11-17T21:30:30Z</dc:date>
    <item>
      <title>Programmatically load REST data</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Programmatically-load-REST-data/m-p/1860669#M9862</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am new to Qlik and I am trying to programmatically query a REST endpoint, using parameters that I have previously loaded with another endpoint.&lt;/P&gt;
&lt;P&gt;Basically, in pseudocode:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;GET "http://myapi/api/v1/Site?apikey=blablabla" // returns a table with a "SiteId" column.

for each vSite in SiteId:
  GET "http://myapi/api/v1/vSite?apikey=blablabla?param=extraparam
  NEXT&lt;/LI-CODE&gt;
&lt;P&gt;The WITH CONNECTION keyword seems to be what I am looking for, but I am missing some concrete example on how to use it when iterating over another table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 21:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Programmatically-load-REST-data/m-p/1860669#M9862</guid>
      <dc:creator>danabb</dc:creator>
      <dc:date>2021-11-17T21:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically load REST data</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Programmatically-load-REST-data/m-p/1860780#M9864</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;You will find some examples here&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/REST-connector-Using-WITH-CONNECTION/ba-p/1523257" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/REST-connector-Using-WITH-CONNECTION/ba-p/1523257&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/App-Development/REST-Connector-WITH-CONNECTION-Syntax/td-p/1314" target="_blank"&gt;https://community.qlik.com/t5/App-Development/REST-Connector-WITH-CONNECTION-Syntax/td-p/1314&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On the first link, there is a with connection url that looks like what you need.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 07:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Programmatically-load-REST-data/m-p/1860780#M9864</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2021-11-18T07:11:39Z</dc:date>
    </item>
  </channel>
</rss>

