<?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 redirection workaround in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/redirection-workaround/m-p/2114586#M12789</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Qlik does not allow redirection in a simple way.&amp;nbsp; I wonder if anybody can help me with such issue that the result of an API call is a redirection link, that I would like to use somehow to get access to the actual data I need.&lt;/P&gt;
&lt;P&gt;The redirection link has the below structure:&lt;/P&gt;
&lt;P&gt;temp_url = &lt;A href="https://resiflow-dev-test-qlik-data" target="_blank"&gt;https://&lt;/A&gt; ... .json&lt;/P&gt;
&lt;P&gt;?X-Amz-Algorithm= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Credential= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Date= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Expires= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Security-Token= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Signature= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-SignedHeaders= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;x-id=GetObject&lt;/P&gt;
&lt;P&gt;Can I refer to these values using a WITH CONNECTION clause, and get finally what I aimed to fetch?&lt;/P&gt;
&lt;P&gt;Thanks and best regards,&lt;/P&gt;
&lt;P&gt;Levente&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 14:01:55 GMT</pubDate>
    <dc:creator>levente81</dc:creator>
    <dc:date>2023-09-07T14:01:55Z</dc:date>
    <item>
      <title>redirection workaround</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/redirection-workaround/m-p/2114586#M12789</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Qlik does not allow redirection in a simple way.&amp;nbsp; I wonder if anybody can help me with such issue that the result of an API call is a redirection link, that I would like to use somehow to get access to the actual data I need.&lt;/P&gt;
&lt;P&gt;The redirection link has the below structure:&lt;/P&gt;
&lt;P&gt;temp_url = &lt;A href="https://resiflow-dev-test-qlik-data" target="_blank"&gt;https://&lt;/A&gt; ... .json&lt;/P&gt;
&lt;P&gt;?X-Amz-Algorithm= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Credential= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Date= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Expires= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Security-Token= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-Signature= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;X-Amz-SignedHeaders= ...&lt;/P&gt;
&lt;P&gt;&amp;amp;x-id=GetObject&lt;/P&gt;
&lt;P&gt;Can I refer to these values using a WITH CONNECTION clause, and get finally what I aimed to fetch?&lt;/P&gt;
&lt;P&gt;Thanks and best regards,&lt;/P&gt;
&lt;P&gt;Levente&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 14:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/redirection-workaround/m-p/2114586#M12789</guid>
      <dc:creator>levente81</dc:creator>
      <dc:date>2023-09-07T14:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: redirection workaround</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/redirection-workaround/m-p/2119853#M12814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/196099"&gt;@levente81&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have had great success with using the 'With Connection' in my Rest API calls.&lt;BR /&gt;Extracting Tokens and redirect URLs and then passing them into the call with $ expansion.&lt;/P&gt;
&lt;P&gt;Short sample of how I use this:&lt;BR /&gt;The 2 variables '&lt;SPAN&gt;vOrgId' and 'vAccessToken' are extracted from other calls and then passed into this call.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;FROM JSON (wrap on) "root" QDL&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;WITH CONNECTION&lt;/DIV&gt;
&lt;DIV&gt;(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; URL "&lt;A href="https://API" target="_blank"&gt;https://API&lt;/A&gt; Endpoint/org/$(vOrgId)",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; HTTPHEADER "Authorization" "Bearer $(vAccessToken)"&lt;/DIV&gt;
&lt;DIV&gt;);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Sep 2023 08:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/redirection-workaround/m-p/2119853#M12814</guid>
      <dc:creator>williejacobs</dc:creator>
      <dc:date>2023-09-19T08:08:45Z</dc:date>
    </item>
  </channel>
</rss>

