<?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: tFileFetch with JSON body as authentification to get token from cookie in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-with-JSON-body-as-authentification-to-get-token-from/m-p/2297174#M69775</link>
    <description>Hi,&lt;BR /&gt;Is it a&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;rest web service?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;Have you tried to use trestclient&amp;nbsp;component to&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;get a access token for an API to see if it works?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 12 Dec 2016 03:46:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-12T03:46:16Z</dc:date>
    <item>
      <title>tFileFetch with JSON body as authentification to get token from cookie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-with-JSON-body-as-authentification-to-get-token-from/m-p/2297173#M69774</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;i am working on a problem to get a access token for an API. I need to send a http post with Header Information (application json) and &amp;nbsp;a JSON as body in form of:&lt;BR /&gt;{"email":"abc@mail.com","password":"secret"} &amp;nbsp;to an API to get an session cookie and access to the API. I successfully connected to it via tRest with the above in the body (escaped the ") but then I couldn't get the information from the cookie (but there is the access_token). so I tried to connect via tFilefetch to save the cookie and read it again but I could not get the html body information in there and always got a 400 bad request back. I only would need to get the access token from the request from the cookie to then call another API action (tRest) with the access token in the header.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any idea how to get this done? Thx!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileFetch-with-JSON-body-as-authentification-to-get-token-from/m-p/2297173#M69774</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-12-07T18:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: tFileFetch with JSON body as authentification to get token from cookie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-with-JSON-body-as-authentification-to-get-token-from/m-p/2297174#M69775</link>
      <description>Hi,&lt;BR /&gt;Is it a&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;rest web service?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;Have you tried to use trestclient&amp;nbsp;component to&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;get a access token for an API to see if it works?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 12 Dec 2016 03:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileFetch-with-JSON-body-as-authentification-to-get-token-from/m-p/2297174#M69775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-12T03:46:16Z</dc:date>
    </item>
  </channel>
</rss>

