<?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 API Designer - How to upload a csv file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/API-Designer-How-to-upload-a-csv-file/m-p/2244001#M30298</link>
    <description>&lt;P&gt;Dear Talend Gurus,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to create an API which which will accept a csv file as input and load it into a target directory. I tried to use Talend API Designer but I am not able to find the full solution. Could you please guide me what I am missing. I would like to tell in advance that I am quite novice in API. Please accept my apologies in advance if I have made some silly mistakes.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The scenario is something like source team will call this API and they will push the CSV file. They do not want to put file in any shared location and they would like to directly trigger the API by inserting the file as parameter. So I thought REST API using Talend API Designer will be a right use case instead of Route or SFTP.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have attached the screenshots of the API I have created below.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2Z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133466i2698DACF1CB4B8D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2Z.png" alt="0683p000009Ma2Z.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The screen shot of API Tester is as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133836iAD75F80C3BB4A5F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2e.png" alt="0683p000009Ma2e.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Studio screenshot is as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 944px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZkA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144360i5632F7139E8E6009/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZkA.png" alt="0683p000009MZkA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 944px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2o.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131182iFA0D68B3DD3E90D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2o.png" alt="0683p000009Ma2o.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't know how I can get the file from this call even though it is showing the request is coming here. Could you please help me? I tried to see some example in Talend Academy but we have example only for basic customer data there and not for file type.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU" target="_blank"&gt;@rhall&lt;/A&gt;&amp;nbsp; - I have seen some other posts where you have told to use tFileFetch to extract. I am not sure how to use it for the datatype of file. Could you please guide me?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Steph&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:29:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T02:29:03Z</dc:date>
    <item>
      <title>API Designer - How to upload a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/API-Designer-How-to-upload-a-csv-file/m-p/2244001#M30298</link>
      <description>&lt;P&gt;Dear Talend Gurus,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to create an API which which will accept a csv file as input and load it into a target directory. I tried to use Talend API Designer but I am not able to find the full solution. Could you please guide me what I am missing. I would like to tell in advance that I am quite novice in API. Please accept my apologies in advance if I have made some silly mistakes.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The scenario is something like source team will call this API and they will push the CSV file. They do not want to put file in any shared location and they would like to directly trigger the API by inserting the file as parameter. So I thought REST API using Talend API Designer will be a right use case instead of Route or SFTP.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have attached the screenshots of the API I have created below.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2Z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133466i2698DACF1CB4B8D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2Z.png" alt="0683p000009Ma2Z.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The screen shot of API Tester is as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133836iAD75F80C3BB4A5F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2e.png" alt="0683p000009Ma2e.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Studio screenshot is as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 944px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZkA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144360i5632F7139E8E6009/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZkA.png" alt="0683p000009MZkA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 944px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2o.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131182iFA0D68B3DD3E90D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2o.png" alt="0683p000009Ma2o.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't know how I can get the file from this call even though it is showing the request is coming here. Could you please help me? I tried to see some example in Talend Academy but we have example only for basic customer data there and not for file type.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU" target="_blank"&gt;@rhall&lt;/A&gt;&amp;nbsp; - I have seen some other posts where you have told to use tFileFetch to extract. I am not sure how to use it for the datatype of file. Could you please guide me?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Steph&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/API-Designer-How-to-upload-a-csv-file/m-p/2244001#M30298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: API Designer - How to upload a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/API-Designer-How-to-upload-a-csv-file/m-p/2244002#M30299</link>
      <description>&lt;P&gt;Sorry for the delay in responding, I have been a little snowed under recently. However, I saw your question and it reminded me how difficult it can be to figure this problem out. This tutorial should give you enough information to get this working I believe....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/gGH~geaw6_GtmpB6JNViGw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/gGH~geaw6_GtmpB6JNViGw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 14:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/API-Designer-How-to-upload-a-csv-file/m-p/2244002#M30299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-15T14:44:53Z</dc:date>
    </item>
  </channel>
</rss>

