<?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 Number in HTTPHEADER at WITH CONNECTION call in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48546#M605759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some API to call to get the data, but I need to add some parameters in header of that call, on the fly. &lt;/P&gt;&lt;P&gt;I figure out that this is done by WITH CONNECTION and then add some HTTPHEADER inside. &lt;/P&gt;&lt;P&gt;My problem is, that I don't know how to add number parameters inside the HTTPHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;If I write this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTPHEADER "request_time" "$(time)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I get error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Error 500: Authentication failed: For input string: &amp;amp;quot;1523845473.650126&amp;amp;quot;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-size: 13px; font-style: normal; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;I guess that problem is in quotes, because server expect number. But if I try any of the solutions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-size: 13px; font-style: normal; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;HTTPHEADER "request_time" $(time)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;HTTPHEADER "request_time" time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;HTTPHEADER "request_time" '$(time)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;I get error in Qlik Sense that sintax is wrong. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;How to deal with the numbers in &lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;HTTPHEADER ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Marko &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2018 09:32:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-05T09:32:47Z</dc:date>
    <item>
      <title>Number in HTTPHEADER at WITH CONNECTION call</title>
      <link>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48546#M605759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some API to call to get the data, but I need to add some parameters in header of that call, on the fly. &lt;/P&gt;&lt;P&gt;I figure out that this is done by WITH CONNECTION and then add some HTTPHEADER inside. &lt;/P&gt;&lt;P&gt;My problem is, that I don't know how to add number parameters inside the HTTPHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;If I write this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTPHEADER "request_time" "$(time)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I get error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Error 500: Authentication failed: For input string: &amp;amp;quot;1523845473.650126&amp;amp;quot;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-size: 13px; font-style: normal; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;I guess that problem is in quotes, because server expect number. But if I try any of the solutions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-size: 13px; font-style: normal; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;HTTPHEADER "request_time" $(time)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;HTTPHEADER "request_time" time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;HTTPHEADER "request_time" '$(time)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;I get error in Qlik Sense that sintax is wrong. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;How to deal with the numbers in &lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;HTTPHEADER ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 13.3333px; font-family: arial, helvetica, sans-serif; font-weight: normal;"&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Marko &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: monospace; font-size: 13px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 09:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48546#M605759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T09:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Number in HTTPHEADER at WITH CONNECTION call</title>
      <link>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48547#M605760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give the Variable LET/SET statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48547#M605760</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-03-05T10:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Number in HTTPHEADER at WITH CONNECTION call</title>
      <link>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48548#M605761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "time",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; signature&lt;/P&gt;&lt;P&gt;FROM [lib://python/....xml] &lt;SPAN style="font-size: 10pt;"&gt;(XmlSimple, table is param);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let time = peek('time',0,'param');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-in-HTTPHEADER-at-WITH-CONNECTION-call/m-p/48548#M605761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T10:04:25Z</dc:date>
    </item>
  </channel>
</rss>

