<?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 Calling a REST API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calling-a-REST-API/m-p/2099026#M18928</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Very very new on Qlik, but experienced with development and APIs.&lt;/P&gt;
&lt;P&gt;I'm trying to query data from a REST API.&lt;/P&gt;
&lt;P&gt;The process is twofold, first authenticate, grab a token in the response, then query the other APIs.&lt;/P&gt;
&lt;P&gt;On postman I can authenticate fine, and grab a success json object with the session token I can use to query other APIs.&lt;/P&gt;
&lt;P&gt;On click, I get a success=false and an empty token.&lt;/P&gt;
&lt;P&gt;The query is super simple, POST to the api url with a json {"Login":"yadayada","Password":"password"} payload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=&lt;A href="http://url/api/login;timeout=30;method=POST;requestBody={%3Login%3:%3yadda%3,%3Password%3:%3password%3};autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=basic;skipServerCertificateValidation=1;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;allowResponseHeaders=false;allowHttpsOnly=false;XUserId=;XPassword=" target="_blank"&gt;http://url/api/login;timeout=30;method=POST;requestBody={%3Login%3:%3yadda%3,%3Password%3:%3password%3};autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=basic;skipServerCertificateValidation=1;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;allowResponseHeaders=false;allowHttpsOnly=false;XUserId=;XPassword=&lt;/A&gt;;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried authSchema=anonymous as well without success.&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 10:49:58 GMT</pubDate>
    <dc:creator>adkins</dc:creator>
    <dc:date>2023-08-01T10:49:58Z</dc:date>
    <item>
      <title>Calling a REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calling-a-REST-API/m-p/2099026#M18928</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Very very new on Qlik, but experienced with development and APIs.&lt;/P&gt;
&lt;P&gt;I'm trying to query data from a REST API.&lt;/P&gt;
&lt;P&gt;The process is twofold, first authenticate, grab a token in the response, then query the other APIs.&lt;/P&gt;
&lt;P&gt;On postman I can authenticate fine, and grab a success json object with the session token I can use to query other APIs.&lt;/P&gt;
&lt;P&gt;On click, I get a success=false and an empty token.&lt;/P&gt;
&lt;P&gt;The query is super simple, POST to the api url with a json {"Login":"yadayada","Password":"password"} payload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=&lt;A href="http://url/api/login;timeout=30;method=POST;requestBody={%3Login%3:%3yadda%3,%3Password%3:%3password%3};autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=basic;skipServerCertificateValidation=1;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;allowResponseHeaders=false;allowHttpsOnly=false;XUserId=;XPassword=" target="_blank"&gt;http://url/api/login;timeout=30;method=POST;requestBody={%3Login%3:%3yadda%3,%3Password%3:%3password%3};autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=basic;skipServerCertificateValidation=1;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;allowResponseHeaders=false;allowHttpsOnly=false;XUserId=;XPassword=&lt;/A&gt;;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried authSchema=anonymous as well without success.&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 10:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Calling-a-REST-API/m-p/2099026#M18928</guid>
      <dc:creator>adkins</dc:creator>
      <dc:date>2023-08-01T10:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calling-a-REST-API/m-p/2099563#M18939</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/240450"&gt;@adkins&lt;/a&gt;&amp;nbsp;- check out &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Using-REST-Connector-with-OAuth2-against-Microsoft-Dynamics-365/ta-p/1928449" target="_blank" rel="noopener"&gt;this Community link&lt;/A&gt;, it has an explanation of how to achieve this and can be adapted to any REST scenario like above.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 13:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Calling-a-REST-API/m-p/2099563#M18939</guid>
      <dc:creator>jprdonnelly</dc:creator>
      <dc:date>2023-08-02T13:26:07Z</dc:date>
    </item>
  </channel>
</rss>

