<?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: How to handle 302 exception and parse response URL without following redirection? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373711#M136403</link>
    <description>&lt;P&gt;Try following this post (&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClsqCAC" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Accessing-response-headers-from-tRESTClient-5-6-1/m-p/81448&lt;/A&gt;). I believe the header you are looking for is "location" (&lt;A href="https://en.wikipedia.org/wiki/HTTP_302" target="_blank" rel="nofollow noopener noreferrer"&gt;https://en.wikipedia.org/wiki/HTTP_302&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 16:31:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-18T16:31:28Z</dc:date>
    <item>
      <title>How to handle 302 exception and parse response URL without following redirection?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373710#M136402</link>
      <description>&lt;P&gt;Talend throws an exception when an API returns 302 Found. That's the expected response from the API so it's OK. I DON'T want to follow the redirect in this case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As is: exception is thrown and the response URL cannot be parsed.&lt;/P&gt;
&lt;P&gt;Goal: to parse the response URL and take one parameter value and continue job with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to parse the URL without getting the exception AND without following any redirect? I can see the documentation that 302 could be followed with a HTTP proxy, but as mentioned there's no need to follow..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 14:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373710#M136402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T14:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle 302 exception and parse response URL without following redirection?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373711#M136403</link>
      <description>&lt;P&gt;Try following this post (&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClsqCAC" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Accessing-response-headers-from-tRESTClient-5-6-1/m-p/81448&lt;/A&gt;). I believe the header you are looking for is "location" (&lt;A href="https://en.wikipedia.org/wiki/HTTP_302" target="_blank" rel="nofollow noopener noreferrer"&gt;https://en.wikipedia.org/wiki/HTTP_302&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373711#M136403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T16:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle 302 exception and parse response URL without following redirection?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373712#M136404</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMvuAAG"&gt;@hkorhola&lt;/A&gt;&amp;nbsp;were you able to resolve this issue?&amp;nbsp; I'm encountering a similar issue when tRestClient throws an exception for the 303 response.&amp;nbsp; I also don't need to follow the redirect in this case.&amp;nbsp;&amp;nbsp;When the response code is 200 then my job correctly extracts the JSON fields from the response.&amp;nbsp; However, for the 303 response, even though I can see the full response in the log details displayed in studio the job fails because of the exception thrown on the 303 response.&amp;nbsp; I filed a support case and they logged a bug, but in the meantime I need to find a workaround.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 19:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-handle-302-exception-and-parse-response-URL-without/m-p/2373712#M136404</guid>
      <dc:creator>akelly</dc:creator>
      <dc:date>2018-05-09T19:54:05Z</dc:date>
    </item>
  </channel>
</rss>

