<?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: Set Cookie with REST Custom connection in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438058#M3256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternative to the Qlik REST Connector is to use "Qlik Web Connectors: General Web Connector":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Data-Source-Connectors/General-Web-Connector.htm" title="http://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Data-Source-Connectors/General-Web-Connector.htm"&gt;http://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Data-Source-Connectors/General-Web-Connector.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the documentation it does support cookies. This connector has to be licensed on a yearly basis though - so it comes with an additional cost as it is a premium connector of the Qlik Web Connector collection not a standard free one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 08:19:35 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2017-11-22T08:19:35Z</dc:date>
    <item>
      <title>Set Cookie with REST Custom connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438057#M3255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;Hi there,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;So we're trying to use the REST Connector to access a 3rd party API, and we need to send a custom cookie to each API request after login.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;Obviously we can't do it using the REST Connector interface and we're trying to do it via the script like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;RestConnectorMasterTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;SQL SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;FROM JSON "_response_header" PK "__KEY__response_header"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;WITH CONNECTION (&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; URL "&lt;/SPAN&gt;&lt;A class="Xx" data-display="https://api_url" data-sanitized="https://www.google.com/url?q=https%3A%2F%2Fapi_url&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNG8_kuvooaFub_lw-fU7ARz1UEdaA" dir="ltr" href="https://www.google.com/url?q=https%3A%2F%2Fapi_url&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNG8_kuvooaFub_lw-fU7ARz1UEdaA" rel="nofollow noreferrer" style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;" tabindex="-1" target="_blank"&gt;https://api_url&lt;/A&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HTTPHEADER cookie "$(vCookie)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;But the cookie never gets set. Any suggestions on how to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;Edwin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438057#M3255</guid>
      <dc:creator>edwinwitvoet</dc:creator>
      <dc:date>2017-11-22T07:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cookie with REST Custom connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438058#M3256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternative to the Qlik REST Connector is to use "Qlik Web Connectors: General Web Connector":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Data-Source-Connectors/General-Web-Connector.htm" title="http://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Data-Source-Connectors/General-Web-Connector.htm"&gt;http://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Data-Source-Connectors/General-Web-Connector.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the documentation it does support cookies. This connector has to be licensed on a yearly basis though - so it comes with an additional cost as it is a premium connector of the Qlik Web Connector collection not a standard free one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 08:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438058#M3256</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-11-22T08:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cookie with REST Custom connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438059#M3257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy&lt;/P&gt;&lt;P&gt;Did you find a way to do it?&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Set-Cookie-with-REST-Custom-connection/m-p/1438059#M3257</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-30T15:50:48Z</dc:date>
    </item>
  </channel>
</rss>

