<?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: Retrieve Response Header data by making an unauthorized HTTP GET request in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237156#M25677</link>
    <description>&lt;P&gt;Have you tried using this globalMap value.....&lt;/P&gt;
&lt;PRE&gt;((java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tRESTClient_1_HEADERS"))&lt;/PRE&gt;
&lt;P&gt;You will require some basic Java in order to iterate over the values, but this is where you would get your headers.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 12:05:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-10T12:05:05Z</dc:date>
    <item>
      <title>Retrieve Response Header data by making an unauthorized HTTP GET request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237155#M25676</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a requirement in which I have to make an unauthorized (401 Unauthorized) HTTP GET request without any parameters in order to retrieve the value of nonce in www-aunthenticate response header.&amp;nbsp;I am using Talend Open Studio Version 6.2.1.&amp;nbsp;I am new to this tool. Hence, I do not know how I can achieve the above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried tRestClient, but it threw the&amp;nbsp;401 Unauthorized error. I tried tRest component, but it has no built-in Header variable unlike tRestClient. I think both components expect either query parameters or headers. I require the response headers by using only the URL without passing any parameters/headers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need your help in finding a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237155#M25676</guid>
      <dc:creator>deepsie</dc:creator>
      <dc:date>2024-11-16T03:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Response Header data by making an unauthorized HTTP GET request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237156#M25677</link>
      <description>&lt;P&gt;Have you tried using this globalMap value.....&lt;/P&gt;
&lt;PRE&gt;((java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tRESTClient_1_HEADERS"))&lt;/PRE&gt;
&lt;P&gt;You will require some basic Java in order to iterate over the values, but this is where you would get your headers.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 12:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237156#M25677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-10T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Response Header data by making an unauthorized HTTP GET request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237157#M25678</link>
      <description>&lt;P&gt;Yes. I have tried that. Like I mentioned, I get the 401 unauthorized error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a java code to make the unauthorized request and get the required header value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 10:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-Response-Header-data-by-making-an-unauthorized-HTTP-GET/m-p/2237157#M25678</guid>
      <dc:creator>deepsie</dc:creator>
      <dc:date>2020-03-30T10:19:10Z</dc:date>
    </item>
  </channel>
</rss>

