<?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 tRESTclient Authorization header parameters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Authorization-header-parameters/m-p/2268614#M47113</link>
    <description>Hi,&amp;nbsp; 
&lt;BR /&gt;I am trying to use Talend to connect to a REST based API. &amp;nbsp;The instructions for authentication (see below) state that I need to pass two tokens and enclose them in double quotes. &amp;nbsp;However when I do that in Talend I get the below error (See screen shot). 
&lt;BR /&gt;I tried replacing the double quotes with parenthesis which fixed the error with Talend but now I get a 401 returned. &amp;nbsp;I believe the quotes are required for the&amp;nbsp;authentication syntax. 
&lt;BR /&gt;Any thoughts on how I can fix this? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;"Authentication - The API needs to have 2 tokens sent to its authentication engine for data to be accessed. One token is a consumer secret key that is required to identify the program and the other is a User token to identify the user. This Authentication engine is based on the OAuth WRAP specification. This keeps unauthorized entities from accessing your data. 
&lt;BR /&gt;The Consumer Secret/3rd party developer key and the Data Access Token value should be URL Encoded before being added to the Authorization header. 
&lt;BR /&gt;The Authorization header is expected in the following format: 
&lt;BR /&gt;Authorization: WRAP access_token="client=TheConsumerSecret&amp;amp;user_token=TheUserToken" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;" 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC7m.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136962i86F1DA965636F578/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC7m.png" alt="0683p000009MC7m.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCIy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157482i8293F291164525E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCIy.png" alt="0683p000009MCIy.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Wed, 07 Jan 2015 23:14:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-07T23:14:19Z</dc:date>
    <item>
      <title>tRESTclient Authorization header parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Authorization-header-parameters/m-p/2268614#M47113</link>
      <description>Hi,&amp;nbsp; 
&lt;BR /&gt;I am trying to use Talend to connect to a REST based API. &amp;nbsp;The instructions for authentication (see below) state that I need to pass two tokens and enclose them in double quotes. &amp;nbsp;However when I do that in Talend I get the below error (See screen shot). 
&lt;BR /&gt;I tried replacing the double quotes with parenthesis which fixed the error with Talend but now I get a 401 returned. &amp;nbsp;I believe the quotes are required for the&amp;nbsp;authentication syntax. 
&lt;BR /&gt;Any thoughts on how I can fix this? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;"Authentication - The API needs to have 2 tokens sent to its authentication engine for data to be accessed. One token is a consumer secret key that is required to identify the program and the other is a User token to identify the user. This Authentication engine is based on the OAuth WRAP specification. This keeps unauthorized entities from accessing your data. 
&lt;BR /&gt;The Consumer Secret/3rd party developer key and the Data Access Token value should be URL Encoded before being added to the Authorization header. 
&lt;BR /&gt;The Authorization header is expected in the following format: 
&lt;BR /&gt;Authorization: WRAP access_token="client=TheConsumerSecret&amp;amp;user_token=TheUserToken" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;" 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC7m.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136962i86F1DA965636F578/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC7m.png" alt="0683p000009MC7m.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCIy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157482i8293F291164525E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCIy.png" alt="0683p000009MCIy.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 07 Jan 2015 23:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Authorization-header-parameters/m-p/2268614#M47113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-07T23:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTclient Authorization header parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Authorization-header-parameters/m-p/2268615#M47114</link>
      <description>Hi,&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Next to the Designer tab there is a Code tab that lets you view the error source code for your Job.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;For the specific definitions of HTTP headers, h&lt;/FONT&gt;&lt;/FONT&gt;ave you checked page about:&amp;nbsp;&lt;A href="http://en.wikipedia.org/wiki/List_of_HTTP_header_fields" target="_blank" rel="nofollow noopener noreferrer"&gt;http://en.wikipedia.org/wiki/List_of_HTTP_header_fields&lt;/A&gt;.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 03 Feb 2015 07:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Authorization-header-parameters/m-p/2268615#M47114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-03T07:53:04Z</dc:date>
    </item>
  </channel>
</rss>

