<?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: REST: Handle non-ascii character in header in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2453154#M13667</link>
    <description>&lt;P&gt;Thanks for your reply, I tried it and it didn't work but we changed the parameter so it's working now!&lt;BR /&gt;&lt;BR /&gt;/Adam J.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 10:27:40 GMT</pubDate>
    <dc:creator>AJZ</dc:creator>
    <dc:date>2024-05-16T10:27:40Z</dc:date>
    <item>
      <title>REST: Handle non-ascii character in header</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2449127#M13632</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have a problem with the REST connector where the authorization is set in the query header parameter.&lt;/P&gt;
&lt;P&gt;I get the error message&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;Failed to connect to server Request headers must contain only ASCII characters.&lt;/SPAN&gt;&lt;/EM&gt;&amp;nbsp;because there is the character&amp;nbsp;&lt;STRONG&gt;å&amp;nbsp;&lt;/STRONG&gt;in the header.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It works in Postman but not in Qlik. I have tried to change å to be html-encoded (both&amp;nbsp;&lt;SPAN&gt;%C3%A5 and&amp;nbsp;%E5) but it doesn't work.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way around this or should we just change the header parameter to not contain this character?&lt;BR /&gt;&lt;BR /&gt;Best Regrads,&lt;BR /&gt;Adam J.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 13:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2449127#M13632</guid>
      <dc:creator>AJZ</dc:creator>
      <dc:date>2024-05-06T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST: Handle non-ascii character in header</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2453098#M13665</link>
      <description>&lt;P&gt;Hi Adam,&lt;/P&gt;
&lt;P&gt;I suggest you run you query with the "With Connection" option and then create your header as a variable.&lt;/P&gt;
&lt;P&gt;eg.&lt;BR /&gt;Let zHeader = 'somedata'&amp;amp;Chr(229)&lt;BR /&gt;&lt;BR /&gt;apiData:&lt;BR /&gt;Select *&lt;BR /&gt;FROM JSON (wrap on) "root"&lt;BR /&gt;With Connection&lt;BR /&gt;(URL "&lt;A href="https://api.com" target="_blank"&gt;https://api.com&lt;/A&gt;",&lt;BR /&gt;HTTPHEADER "zHeader"&lt;BR /&gt;);&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 08:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2453098#M13665</guid>
      <dc:creator>williejacobs</dc:creator>
      <dc:date>2024-05-16T08:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: REST: Handle non-ascii character in header</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2453154#M13667</link>
      <description>&lt;P&gt;Thanks for your reply, I tried it and it didn't work but we changed the parameter so it's working now!&lt;BR /&gt;&lt;BR /&gt;/Adam J.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 10:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-Handle-non-ascii-character-in-header/m-p/2453154#M13667</guid>
      <dc:creator>AJZ</dc:creator>
      <dc:date>2024-05-16T10:27:40Z</dc:date>
    </item>
  </channel>
</rss>

