<?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 retrieve pdf binary file in Talend from API with TrestClient ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374291#M136912</link>
    <description>&lt;P&gt;Hi, you can check in postman the headers apply to the request, and add them in tresclient http headers.&lt;/P&gt;&lt;P&gt;You can also use tFileFetch to download the file&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 15:26:40 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2021-11-05T15:26:40Z</dc:date>
    <item>
      <title>How to retrieve pdf binary file in Talend from API with TrestClient ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374290#M136911</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a beginner with Talend Open Studio For Data Integration.&lt;/P&gt;&lt;P&gt;I need to develop a job to retrieve a pdf file which is sent as binary file by the the REST API, and then insert this pdf file as a BLOB into an oracle table.&lt;/P&gt;&lt;P&gt;I tried with a tRestClient Component and then a tJavaRow to write the PDF file based on the output of the tRestClient but it doesn't work.&lt;/P&gt;&lt;P&gt;The file is too small (24 ko) compared to the one I receive with the same call in Postman (250 ko) and I can't open it.&lt;/P&gt;&lt;P&gt;I didn't find any exemple about how to do this until now.&lt;/P&gt;&lt;P&gt;Could someone please help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put some screenshots of my configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 10:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374290#M136911</guid>
      <dc:creator>cmalengrez</dc:creator>
      <dc:date>2021-11-05T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve pdf binary file in Talend from API with TrestClient ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374291#M136912</link>
      <description>&lt;P&gt;Hi, you can check in postman the headers apply to the request, and add them in tresclient http headers.&lt;/P&gt;&lt;P&gt;You can also use tFileFetch to download the file&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 15:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374291#M136912</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-11-05T15:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve pdf binary file in Talend from API with TrestClient ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374292#M136913</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I already did it but without success.&lt;/P&gt;&lt;P&gt;I also tried using TREST and even TFETCHFILE instead of TRESTCLIENT but same result. File too small and unreadable.&lt;/P&gt;&lt;P&gt;Is there a more suitable component to do this ?&lt;/P&gt;&lt;P&gt;Or is it impossible and do I have to try to write custom java code to do this ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 12:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-retrieve-pdf-binary-file-in-Talend-from-API-with/m-p/2374292#M136913</guid>
      <dc:creator>cmalengrez</dc:creator>
      <dc:date>2021-11-08T12:14:45Z</dc:date>
    </item>
  </channel>
</rss>

