<?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 Get data from JSON with Headers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-data-from-JSON-with-Headers/m-p/1415582#M427673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need to GET data from a JSON by using a URL that I've been given, and I was told that I need to send a header with the following data:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;URL: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://example.services.com" rel="nofollow" target="_blank"&gt;https://example.services.com&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;**Authorization**: Token (Something like: dXw1gh4p2K/w==)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;**Content-Type**: *GET - application/json* - *POST - application/x-www-form-urlencoded*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;**X-Requested-With**: *XMLHttpRequest*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;They told me that the token is a key that must be sent with the header on each GET/POST communication. Then, they sent me the following:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Service: Get Customer List&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;GET /api/customers.json&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It brings a JSON with the customers&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Example: /api/customers.json&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Authorization: dXw1gh4p2K/w==&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Content-Type: application/json&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;X-Requested-With: XMLHttpRequest&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I've tried making a request with the website hurl.it but it didn't work: &lt;A href="https://i.stack.imgur.com/62nUu.png"&gt;https://i.stack.imgur.com/62nUu.png&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Am I missing something? I'm using the REST connector and using that data as in the website.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 03:35:35 GMT</pubDate>
    <dc:creator>microwin88x</dc:creator>
    <dc:date>2017-11-06T03:35:35Z</dc:date>
    <item>
      <title>Get data from JSON with Headers</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-from-JSON-with-Headers/m-p/1415582#M427673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need to GET data from a JSON by using a URL that I've been given, and I was told that I need to send a header with the following data:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;URL: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://example.services.com" rel="nofollow" target="_blank"&gt;https://example.services.com&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;**Authorization**: Token (Something like: dXw1gh4p2K/w==)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;**Content-Type**: *GET - application/json* - *POST - application/x-www-form-urlencoded*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;**X-Requested-With**: *XMLHttpRequest*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;They told me that the token is a key that must be sent with the header on each GET/POST communication. Then, they sent me the following:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Service: Get Customer List&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;GET /api/customers.json&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It brings a JSON with the customers&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Example: /api/customers.json&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Authorization: dXw1gh4p2K/w==&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Content-Type: application/json&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;X-Requested-With: XMLHttpRequest&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I've tried making a request with the website hurl.it but it didn't work: &lt;A href="https://i.stack.imgur.com/62nUu.png"&gt;https://i.stack.imgur.com/62nUu.png&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Am I missing something? I'm using the REST connector and using that data as in the website.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 03:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-from-JSON-with-Headers/m-p/1415582#M427673</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2017-11-06T03:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from JSON with Headers</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-from-JSON-with-Headers/m-p/1415583#M427674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not post duplicate questions. This will create two threads and confusion.&lt;/P&gt;&lt;P&gt;Posters: please reply using the other thread: &lt;A href="https://community.qlik.com/thread/280515"&gt;Get data from JSON with Headers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 04:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-from-JSON-with-Headers/m-p/1415583#M427674</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-06T04:52:37Z</dc:date>
    </item>
  </channel>
</rss>

