<?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 API call from Extension (AJAX, NODE.JS) in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-call-from-Extension-AJAX-NODE-JS/m-p/1810996#M14997</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a new Extension which will use the api to do something. For example "reload app". I want it with full rights, because with a "normal" reload button, our users also need access rights for the data sources.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried a ajax solution, like this example:&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000029463" target="_blank" rel="noopener"&gt;https://support.qlik.com/articles/000029463&lt;/A&gt;&amp;nbsp;. First on my local mashine, for testing. But i get an error 401 (Authentication header expected). The virtual proxy is reachable. I can connect to it with chrome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried a nodejs solution, like this: &lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Example-Connect-Nodejs.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Example-Connect-Nodejs.htm&lt;/A&gt; . It works from my local mashine. But to use it as a Qlik Sense Extension, I need somehow the packages https and fs. Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is there a better way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 10:17:06 GMT</pubDate>
    <dc:creator>denisb</dc:creator>
    <dc:date>2021-05-27T10:17:06Z</dc:date>
    <item>
      <title>API call from Extension (AJAX, NODE.JS)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-call-from-Extension-AJAX-NODE-JS/m-p/1810996#M14997</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a new Extension which will use the api to do something. For example "reload app". I want it with full rights, because with a "normal" reload button, our users also need access rights for the data sources.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried a ajax solution, like this example:&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000029463" target="_blank" rel="noopener"&gt;https://support.qlik.com/articles/000029463&lt;/A&gt;&amp;nbsp;. First on my local mashine, for testing. But i get an error 401 (Authentication header expected). The virtual proxy is reachable. I can connect to it with chrome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried a nodejs solution, like this: &lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Example-Connect-Nodejs.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Example-Connect-Nodejs.htm&lt;/A&gt; . It works from my local mashine. But to use it as a Qlik Sense Extension, I need somehow the packages https and fs. Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is there a better way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 10:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/API-call-from-Extension-AJAX-NODE-JS/m-p/1810996#M14997</guid>
      <dc:creator>denisb</dc:creator>
      <dc:date>2021-05-27T10:17:06Z</dc:date>
    </item>
  </channel>
</rss>

