<?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: Accessing response headers from tRest in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370356#M133409</link>
    <description>&lt;P&gt;Use a tFixedFlowInput with null values.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 11:21:35 GMT</pubDate>
    <dc:creator>navds</dc:creator>
    <dc:date>2019-06-14T11:21:35Z</dc:date>
    <item>
      <title>Accessing response headers from tRest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370353#M133406</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to access to my response header with tRest component, not the tRestClient.&lt;/P&gt;
&lt;P&gt;I use&amp;nbsp;((java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tREST_1_HEADERS")).get("Set-Cookie").get(0).toString()&lt;/P&gt;
&lt;P&gt;But I have a result of NullPointerException..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you'll have a solution for me, thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 09:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370353#M133406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-14T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing response headers from tRest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370354#M133407</link>
      <description>&lt;P&gt;Hi, tREST does not have this variable. Use tRESTClient instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 10:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370354#M133407</guid>
      <dc:creator>navds</dc:creator>
      <dc:date>2019-06-14T10:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing response headers from tRest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370355#M133408</link>
      <description>&lt;P&gt;Yes I know but when I use tRestClient, the problem is I need to input JSON in the body, so I use a tJavaRow or a tMap to output throught the tRestClient BUT tJavaRow or tMap need an input (an entry) too, and I do not have anything to put in entry because my JSON is generated with context data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for the moment I have put a tFileInputDelimited with a input.txt before the tJavaRow without anything inside it, but it's not pretty... Do you have a solution, I hope you'll understand my problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvwr"&gt;Capture.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 14 Jun 2019 10:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370355#M133408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-14T10:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing response headers from tRest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370356#M133409</link>
      <description>&lt;P&gt;Use a tFixedFlowInput with null values.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 11:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370356#M133409</guid>
      <dc:creator>navds</dc:creator>
      <dc:date>2019-06-14T11:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing response headers from tRest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370357#M133410</link>
      <description>&lt;P&gt;Yes thanks that's ok but it would be better if we could get the headers from a tRest...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 13:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Accessing-response-headers-from-tRest/m-p/2370357#M133410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-14T13:14:09Z</dc:date>
    </item>
  </channel>
</rss>

