<?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 Re: Overriding the POST request body for paged data loads in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Overriding-the-POST-request-body-for-paged-data-loads/m-p/1343657#M29713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin, I am currently trying to find a solution of batching request to reduce the number of HTTP connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atleast via Qliksense not possible now, you have to refer &lt;A href="http://www.odata.org/documentation/odata-version-3-0/batch-processing/" title="http://www.odata.org/documentation/odata-version-3-0/batch-processing/"&gt;Batch Processing (OData Version 3.0) · OData - the Best Way to REST&lt;/A&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you find some solution!!..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 14:38:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-27T14:38:38Z</dc:date>
    <item>
      <title>Overriding the POST request body for paged data loads</title>
      <link>https://community.qlik.com/t5/App-Development/Overriding-the-POST-request-body-for-paged-data-loads/m-p/1343656#M29712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to load data from a cloud hosted application which exposes a REST API for this purpose. The data being substantially big in size, prompts me to choose a batch approach towards loading the data.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;As per the API contract I'm required to make HTTP POST requests with a variable page id in the body for each new page/batch of data (the endpoint URL and HTTP headers remain unchanged).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I've tried searching for a way to do this, and the only approach that I came across on these forums unfortunately didn't work out for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here's what I've tried:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. Defining a QLIK REST connector with a static XML body to help generate the necessary SQL clause - this works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Update the clause to use the WITH CONNECTION construct passing to it a variable body section as follows - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;WITH CONNECTION (BODY "$(requestBody)");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Whenever the SQL executes, it doesn't fail, but doesn't return data either. However using the statically defined connection works (for a single page of data, since the XML body is static).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any suggestions? I'm trying all of this with Qlik Sense desktop version 3.1 SR6.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Overriding-the-POST-request-body-for-paged-data-loads/m-p/1343656#M29712</guid>
      <dc:creator />
      <dc:date>2017-07-20T11:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding the POST request body for paged data loads</title>
      <link>https://community.qlik.com/t5/App-Development/Overriding-the-POST-request-body-for-paged-data-loads/m-p/1343657#M29713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin, I am currently trying to find a solution of batching request to reduce the number of HTTP connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atleast via Qliksense not possible now, you have to refer &lt;A href="http://www.odata.org/documentation/odata-version-3-0/batch-processing/" title="http://www.odata.org/documentation/odata-version-3-0/batch-processing/"&gt;Batch Processing (OData Version 3.0) · OData - the Best Way to REST&lt;/A&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you find some solution!!..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Overriding-the-POST-request-body-for-paged-data-loads/m-p/1343657#M29713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T14:38:38Z</dc:date>
    </item>
  </channel>
</rss>

