<?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: Connecting to QRS API via QPS in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906980#M16458</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;,&amp;nbsp;I made a mistake while writing the post and I'm actually not using ports when trying to connect through the QPS.&lt;/P&gt;
&lt;P&gt;At the moment I'm using the default virtual proxy with NTLM and I tried the following Postman configuration, with no success:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;(GET)&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://%3Cqsserveripaddress%3E:4242/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB" target="_blank" rel="noopener nofollow noreferrer"&gt;https://&amp;lt;QSServer&lt;STRONG&gt;Public&lt;/STRONG&gt;IPAddress&amp;gt;/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;no certificates matching the public address&lt;/LI&gt;
&lt;LI&gt;no VPN connections&lt;/LI&gt;
&lt;LI&gt;(in Postman) Authorization &amp;gt; Type : NTML
&lt;UL&gt;
&lt;LI&gt;Username, Password and Domain fields were fulfilled&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Two headers&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;x-Qlik-Xrfkey&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;X-Qlik-User&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 12:56:36 GMT</pubDate>
    <dc:creator>AG-gugelbisolutions</dc:creator>
    <dc:date>2022-03-18T12:56:36Z</dc:date>
    <item>
      <title>Connecting to QRS API via QPS</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906692#M16451</link>
      <description>&lt;P&gt;Hi there, I'm pretty new to the usage of APIs with Qlik Sense, especially to build a custom web app.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Reading &lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API.htm" target="_self"&gt;this page&lt;/A&gt;&amp;nbsp;I see there are basically two ways to connect to the QRS:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;using urls like https://&amp;lt;&lt;SPAN class="CommonComponentsQRSName_Short"&gt;QRS&lt;/SPAN&gt;&amp;nbsp;machine name&amp;gt;:4242/&amp;lt;path&amp;gt; provided that the client has a valid certificate issued by the Qlik Sense Server&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;using urls like&amp;nbsp;https://&amp;lt;proxy machine name&amp;gt;/&amp;lt;path&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Given that I'm working with a single node Windows environment,&amp;nbsp;I was able to start exploring the QRS API following the first way, but not the second. More precisely, these were my Postman settings:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;(GET)&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://&amp;lt;QSServerIPaddress&amp;gt;:4242/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB" target="_blank" rel="noopener"&gt;https://&amp;lt;QSServer&lt;STRONG&gt;Private&lt;/STRONG&gt;IPAddress&amp;gt;:4242/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;a client certificate (that Postman automatically adds to the request based on the address and port)&lt;/LI&gt;
&lt;LI&gt;an established VPN connection&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Two headers&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;x-Qlik-Xrfkey&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;X-Qlik-User&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;What should I do in order to follow the second way?&amp;nbsp; I tried the next:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;(GET)&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://&amp;lt;QSServerIPaddress&amp;gt;:4242/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB" target="_blank" rel="noopener"&gt;https://&amp;lt;QSServer&lt;STRONG&gt;Public&lt;/STRONG&gt;IPAddress&amp;gt;/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;no certificates matching the public address&lt;/LI&gt;
&lt;LI&gt;no VPN connections&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Two headers&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;x-Qlik-Xrfkey&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;X-Qlik-User&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 18 Mar 2022 07:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906692#M16451</guid>
      <dc:creator>AG-gugelbisolutions</dc:creator>
      <dc:date>2022-03-18T07:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to QRS API via QPS</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906872#M16455</link>
      <description>&lt;P&gt;Simple things first: When you want to access the api through the proxy, then you should not include the port number. The proxy will take care of guiding the request to the right port depending on the URL.&lt;/P&gt;&lt;P&gt;But the hard thing here is getting the authentication right. One of the main responsibilities of the proxy (or virtual proxy to be precise) is to provide an authentication method. The exact set of headers you need to access Qlik Sense through the proxy therefore depends on what type of authentication method is configured for the virtual proxy you are connecting to. So you should start by checking how the proxy is configured.&lt;/P&gt;&lt;P&gt;Postman might not support the authentication methods you need though. It seems that it for instance has limited port for Windows authentication (NTLM) which is quite common for Qlik Sense:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/37341304/pass-ntlm-with-postman" target="_blank"&gt;https://stackoverflow.com/questions/37341304/pass-ntlm-with-postman&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 07:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906872#M16455</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-03-18T07:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to QRS API via QPS</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906980#M16458</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;,&amp;nbsp;I made a mistake while writing the post and I'm actually not using ports when trying to connect through the QPS.&lt;/P&gt;
&lt;P&gt;At the moment I'm using the default virtual proxy with NTLM and I tried the following Postman configuration, with no success:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;(GET)&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://%3Cqsserveripaddress%3E:4242/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB" target="_blank" rel="noopener nofollow noreferrer"&gt;https://&amp;lt;QSServer&lt;STRONG&gt;Public&lt;/STRONG&gt;IPAddress&amp;gt;/qrs/app/full?Xrfkey=iX83QmNlvu87yyAB&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;no certificates matching the public address&lt;/LI&gt;
&lt;LI&gt;no VPN connections&lt;/LI&gt;
&lt;LI&gt;(in Postman) Authorization &amp;gt; Type : NTML
&lt;UL&gt;
&lt;LI&gt;Username, Password and Domain fields were fulfilled&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Two headers&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;x-Qlik-Xrfkey&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;X-Qlik-User&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 12:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906980#M16458</guid>
      <dc:creator>AG-gugelbisolutions</dc:creator>
      <dc:date>2022-03-18T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to QRS API via QPS</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906983#M16459</link>
      <description>&lt;P&gt;I made a step forwad: I realized I did not include the public IP address in the host whitelist and now, at least, I get the Qlik Sense Login Page, instead of the list of the apps.&lt;/P&gt;
&lt;P&gt;I should probably perform a different call, perhaps /qps/ticket beforehand.&lt;/P&gt;
&lt;P&gt;I'll let you know but, in the meanwhile, any suggestion is of help.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 13:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906983#M16459</guid>
      <dc:creator>AG-gugelbisolutions</dc:creator>
      <dc:date>2022-03-18T13:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to QRS API via QPS</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906994#M16460</link>
      <description>&lt;P&gt;Even with qps/ticket I get redirected to the login page.&lt;/P&gt;
&lt;P&gt;Is this the intended behaviour?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 13:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1906994#M16460</guid>
      <dc:creator>AG-gugelbisolutions</dc:creator>
      <dc:date>2022-03-18T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to QRS API via QPS</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1907039#M16462</link>
      <description>&lt;P&gt;You'll get redirected there if the headers are not right. I'm afraid I don't know enough about Postman to know if it's possible to use it for NTLM authentication these days. I know I've tried that at some point and wasn't able to make it work, but that was a couple of years ago. Looking at that stackoverflow thread I posted about earlier it seems like it's possible, but that rather tricky.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 14:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-QRS-API-via-QPS/m-p/1907039#M16462</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-03-18T14:46:26Z</dc:date>
    </item>
  </channel>
</rss>

