<?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 Trying to load a Post request on QlikSense using Rest Connector in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Trying-to-load-a-Post-request-on-QlikSense-using-Rest-Connector/m-p/60512#M866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to load more than the first line on a post call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to help a association of customer, I am trying to connect to the API of the rail services, to check the delays of the trains. In the past they had a restful api, now they changed it to a post call made in a hideous way, design in my point of view to block any attempt of automatic get the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to share more details with, I activated the Developer tools of my google chrome and tried to sniff the calls being made by the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up the connector and I am being able to get the first line, but I dont understand, why I dont get the remaining lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;URL&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx" style="font-size: 10pt;" title="http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx"&gt;http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Timeout&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method&lt;/P&gt;&lt;P&gt;POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;POST /fr/service-clientele/attestation-de-retard.aspx HTTP/1.1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Host: www.belgianrail.be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Connection: keep-alive &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Content-Length: 41745 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;&lt;SPAN&gt;Origin: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.belgianrail.be" rel="nofollow" target="_blank"&gt;http://www.belgianrail.be&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Content-Type: application/x-www-form-urlencoded; charset=UTF-8 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;X-Requested-With: XMLHttpRequest &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Cache-Control: no-cache &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;X-MicrosoftAjax: Delta=true &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Accept: */* &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;&lt;SPAN&gt;Referer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx" rel="nofollow" target="_blank"&gt;http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx&lt;/A&gt;&lt;SPAN&gt; Accept-Encoding: gzip, deflate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Accept-Language: en-GB,en;q=0.9,pt-PT;q=0.8,pt;q=0.7,fr-BE;q=0.6,fr;q=0.5,en-US;q=0.4 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The body is a huge and horrendous thing, but to create an automated procedure i only need to change two parameters in the body txtTrainNumber=768 and txtSelectedDateTrain=06%2F02%2F2018, like that I can interate by the trains and by the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great an extra hand just to understand why I dont get full expected csv attached, and I just get the first row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 19:12:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-06T19:12:50Z</dc:date>
    <item>
      <title>Trying to load a Post request on QlikSense using Rest Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Trying-to-load-a-Post-request-on-QlikSense-using-Rest-Connector/m-p/60512#M866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to load more than the first line on a post call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to help a association of customer, I am trying to connect to the API of the rail services, to check the delays of the trains. In the past they had a restful api, now they changed it to a post call made in a hideous way, design in my point of view to block any attempt of automatic get the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to share more details with, I activated the Developer tools of my google chrome and tried to sniff the calls being made by the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up the connector and I am being able to get the first line, but I dont understand, why I dont get the remaining lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;URL&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx" style="font-size: 10pt;" title="http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx"&gt;http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Timeout&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method&lt;/P&gt;&lt;P&gt;POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;POST /fr/service-clientele/attestation-de-retard.aspx HTTP/1.1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Host: www.belgianrail.be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Connection: keep-alive &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Content-Length: 41745 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;&lt;SPAN&gt;Origin: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.belgianrail.be" rel="nofollow" target="_blank"&gt;http://www.belgianrail.be&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Content-Type: application/x-www-form-urlencoded; charset=UTF-8 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;X-Requested-With: XMLHttpRequest &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Cache-Control: no-cache &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;X-MicrosoftAjax: Delta=true &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Accept: */* &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;&lt;SPAN&gt;Referer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx" rel="nofollow" target="_blank"&gt;http://www.belgianrail.be/fr/service-clientele/attestation-de-retard.aspx&lt;/A&gt;&lt;SPAN&gt; Accept-Encoding: gzip, deflate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px;"&gt;Accept-Language: en-GB,en;q=0.9,pt-PT;q=0.8,pt;q=0.7,fr-BE;q=0.6,fr;q=0.5,en-US;q=0.4 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The body is a huge and horrendous thing, but to create an automated procedure i only need to change two parameters in the body txtTrainNumber=768 and txtSelectedDateTrain=06%2F02%2F2018, like that I can interate by the trains and by the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great an extra hand just to understand why I dont get full expected csv attached, and I just get the first row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Trying-to-load-a-Post-request-on-QlikSense-using-Rest-Connector/m-p/60512#M866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-06T19:12:50Z</dc:date>
    </item>
  </channel>
</rss>

