<?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: having issues using tRestClient or tRest component to upload a file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217503#M13077</link>
    <description>Hi, 
&lt;BR /&gt;I also have same scenario. I want to upload files/images by using tRestClient/tRest component. 
&lt;BR /&gt;I have successfully uploaded files/images by using POST man client. But by using tRestClient/tRest components I am not able to upload file. I have gone through documentation of components. 
&lt;BR /&gt;I also tried with tFileFetch component. 
&lt;BR /&gt;I want to know where I can provide file name . Because my API signature contain one parameter i.e file. 
&lt;BR /&gt;Please have screen shot of POST man Request. 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/199436/blob.png" /&gt;</description>
    <pubDate>Thu, 13 Oct 2016 14:41:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-13T14:41:16Z</dc:date>
    <item>
      <title>having issues using tRestClient or tRest component to upload a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217501#M13075</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I have the need to upload a binary file to a RESTful webservice where the REST service has the following signature in Java:&lt;BR /&gt;@POST&lt;BR /&gt;@Path("/uploadFile")&lt;BR /&gt;@Consumes(MediaType.MULTIPART_FORM_DATA)&lt;BR /&gt;public Response uploadFile(&lt;BR /&gt;@FormDataParam("file") InputStream uploadedInputStream,&lt;BR /&gt;@FormDataParam("file") FormDataContentDisposition fileDetail) {&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;However, I am not able to get this to work with the tRestClient component or the tRest component. 
&lt;BR /&gt;Any help would be much appreciated. 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;currently, I am using "Talend Open Studio for Data Integration 6.1.0.20151029_1337"&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I have control over the REST service, so changing the method parameters is possible. &amp;nbsp;All I need to capture is the binary file and its name.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 01 Feb 2016 14:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217501#M13075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: having issues using tRestClient or tRest component to upload a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217502#M13076</link>
      <description>Hi,&lt;BR /&gt;How did you set your tRestClient component? What's the error you are getting?&lt;BR /&gt;Have you checked the scenario in component reference:&lt;A href="https://help.talend.com/search/all?query=tRESTClient&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tRESTClient&lt;/A&gt;?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 22 Feb 2016 06:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217502#M13076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-22T06:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: having issues using tRestClient or tRest component to upload a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217503#M13077</link>
      <description>Hi, 
&lt;BR /&gt;I also have same scenario. I want to upload files/images by using tRestClient/tRest component. 
&lt;BR /&gt;I have successfully uploaded files/images by using POST man client. But by using tRestClient/tRest components I am not able to upload file. I have gone through documentation of components. 
&lt;BR /&gt;I also tried with tFileFetch component. 
&lt;BR /&gt;I want to know where I can provide file name . Because my API signature contain one parameter i.e file. 
&lt;BR /&gt;Please have screen shot of POST man Request. 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/199436/blob.png" /&gt;</description>
      <pubDate>Thu, 13 Oct 2016 14:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217503#M13077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T14:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: having issues using tRestClient or tRest component to upload a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217504#M13078</link>
      <description>I had to call an HTTPS POST API using&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Consolas, Menlo, Monaco,"&gt;Content-Type: multipart/form-data&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;to send some parameters, post a json file and receive the response. &amp;nbsp;Nothing I tried with tREST or tRESTClient worked. &amp;nbsp; 
&lt;BR /&gt;Talend Support suggested tFileFetch to upload the file. &amp;nbsp;I saw nothing in the tFileFetch documentation which indicated I could get the response from the API call, so I never tried it. 
&lt;BR /&gt;I did get it to work using tFileFetch. &amp;nbsp;It turns out the API response is provided in the destination filename (wasn't expecting that).&amp;nbsp; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/356490/basic_settings.png_20170217-0743.png" /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/356490/advanced_settings.png_20170217-0743.png" /&gt;</description>
      <pubDate>Fri, 17 Feb 2017 15:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217504#M13078</guid>
      <dc:creator>pkrivens</dc:creator>
      <dc:date>2017-02-17T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: having issues using tRestClient or tRest component to upload a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217505#M13079</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I did get it to work using tFileFetch. &amp;nbsp;It turns out the API response is provided in the destination filename (wasn't expecting that). &lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Do you mean the API response is loaded into your destination file(tFileFetchDownloadFile.txt) or the API response is saved as&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;destination&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;file name(APIResponse.txt)?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Could you please give us the screenshot of your API response which will be helpful for us to understand your problem.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Many thanks!&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 28 Feb 2017 07:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217505#M13079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: having issues using tRestClient or tRest component to upload a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217506#M13080</link>
      <description>Hi Sabrina,&lt;BR /&gt;I meant&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;the API response is loaded into the destination file(tFileFetchDownloadFile.txt).&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;There is no problem at this time.</description>
      <pubDate>Tue, 28 Feb 2017 18:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/having-issues-using-tRestClient-or-tRest-component-to-upload-a/m-p/2217506#M13080</guid>
      <dc:creator>pkrivens</dc:creator>
      <dc:date>2017-02-28T18:17:24Z</dc:date>
    </item>
  </channel>
</rss>

