<?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 How we can upload .jpg with trestclient component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315209#M85891</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am able to upload .jpg with postman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StM9qAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141911iFED4AFE06E300078/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StM9qAAF.png" alt="0695b00000StM9qAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in talend I am confused how I can pass my .jpg path in trestclient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StMAFAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130151i65854B41086E430E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StMAFAA3.png" alt="0695b00000StMAFAA3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:42:14 GMT</pubDate>
    <dc:creator>Jmiles1658991691</dc:creator>
    <dc:date>2024-11-15T22:42:14Z</dc:date>
    <item>
      <title>How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315209#M85891</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am able to upload .jpg with postman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StM9qAAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141911iFED4AFE06E300078/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StM9qAAF.png" alt="0695b00000StM9qAAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in talend I am confused how I can pass my .jpg path in trestclient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StMAFAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130151i65854B41086E430E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StMAFAA3.png" alt="0695b00000StMAFAA3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315209#M85891</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2024-11-15T22:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315210#M85892</link>
      <description>&lt;P&gt;Hi any suggestion team&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 09:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315210#M85892</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2022-07-28T09:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315211#M85893</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;If you only need to pass the path of the jpg try to put before the tRestClient a tWriteJsonField with the adequat structure here I think it's { "photo" : "C:/PATHOFPICTURES" } and then a main row from the writeJsonField to tRestClient. It's the main row which gives body to tRestClient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However if it's an image, it would be helpful to know what does it means ? Is it a matrix of the images wich is needed ? Or something else ? &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 09:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315211#M85893</guid>
      <dc:creator>ann-gaelle</dc:creator>
      <dc:date>2022-07-28T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315212#M85894</link>
      <description>&lt;P&gt;Hi @Ann-Gaëlle Gouerec​&amp;nbsp;thanks for reply , It is a image which I want to upload  &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 10:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315212#M85894</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2022-07-28T10:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315213#M85895</link>
      <description>&lt;P&gt;I'm trying with below parameters &amp;amp; headers but getting below error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StMSZAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150433i553AB59CCE6234BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StMSZAA3.png" alt="0695b00000StMSZAA3.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StMVwAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131119i52DF36C7104F02AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StMVwAAN.png" alt="0695b00000StMVwAAN.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StMWQAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137382i28BC7B68A988BED2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StMWQAA3.png" alt="0695b00000StMWQAA3.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 10:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315213#M85895</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2022-07-28T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315214#M85896</link>
      <description>&lt;P&gt;Photo is not a query parameter. In postman it appears as body. To pass it as body you will need to pass the information by the row and adding other component to structure it the way your api wants it. If it wants JSON you need to read a json file per exemple (or write a json field) with the adequate strucutre &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; An easy solution to test it rappidely is to put a a tfixedflow before your tRestclient and then you add one variable "body" at your schema with the type string. Then you give it the value "{ \"photo\" :  \"Path_of_your_photo\" }".  Then you put a main row between tfixedflow and trestclient. This is an exemple if the body must be JSON and that's the path that you want to send.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmmm however you said that wasn't the path that you wanted to send but the pictures itself  ? So, for that I would say try to see I you can retrieve an exemple of the body wich is really sent in postman and not just a postman vizualisation maybe it could help you to debug ?  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I can't help more, but maybe those ideas would help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315214#M85896</guid>
      <dc:creator>ann-gaelle</dc:creator>
      <dc:date>2022-07-28T12:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315215#M85897</link>
      <description>&lt;P&gt;@Ann-Gaëlle Gouerec​&amp;nbsp;I have tried with JSON structure but its throwing me error because tRestClient component body data type is document &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StSuYAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133152i13EF2E6B91C1B397/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StSuYAAV.png" alt="0695b00000StSuYAAV.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 04:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315215#M85897</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2022-07-29T04:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315216#M85898</link>
      <description>&lt;P&gt;Hi @Juanita miles​&amp;nbsp;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you name the column that contains your json string, "string" too ? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's still not working with this name you can delete "body" of your schema of trestclient for the entry. Like that it will know that the entry only have the string and nothing else.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 07:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315216#M85898</guid>
      <dc:creator>ann-gaelle</dc:creator>
      <dc:date>2022-07-29T07:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315217#M85899</link>
      <description>&lt;P&gt;@Ann-Gaëlle Gouerec​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StTQjAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133683i27D787FD0DA67CD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StTQjAAN.png" alt="0695b00000StTQjAAN.png" /&gt;&lt;/span&gt;I have created one context variable as &lt;B&gt;ImagePath&lt;/B&gt; &amp;amp; in which I am give value "{ \"photo\" : \"Path_of_my_photo\" }" &amp;amp; then in tfixedflow I created one column , in which I'm giving context variable value &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StTQFAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131362i12FAA9402B713C1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StTQFAA3.png" alt="0695b00000StTQFAA3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StTRNAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128235i5F77362839A6F39E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StTRNAA3.png" alt="0695b00000StTRNAA3.png" /&gt;&lt;/span&gt;tFixedFlow column data type is string &amp;amp; tRestClient "body" data type is document so I can't put this value in tRestClient &amp;amp; if I'm putting row6.body value in out13.string then I'm getting error. &lt;/P&gt;&lt;P&gt;&lt;B&gt;Error:&lt;/B&gt; {"message":"An error occurred.","trackingNumber":"75f52e..........78e8c8f"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000StTRrAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152481i2D51AFA537020B6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000StTRrAAN.png" alt="0695b00000StTRrAAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 10:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315217#M85899</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2022-07-29T10:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315218#M85900</link>
      <description>&lt;P&gt;Hi team any suggestions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 05:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315218#M85900</guid>
      <dc:creator>Jmiles1658991691</dc:creator>
      <dc:date>2022-08-01T05:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315219#M85901</link>
      <description>&lt;P&gt;Hi in fact you can transfer the schema of your tfixedflowInput on the tRestclient. That should solve this error normally. (by propagating changes, or by looking to the schema of the entrance in the tRestClient) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315219#M85901</guid>
      <dc:creator>ann-gaelle</dc:creator>
      <dc:date>2022-08-23T07:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: How we can upload .jpg with trestclient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315220#M85902</link>
      <description>&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 14:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-we-can-upload-jpg-with-trestclient-component/m-p/2315220#M85902</guid>
      <dc:creator>achamai864</dc:creator>
      <dc:date>2022-08-24T14:44:32Z</dc:date>
    </item>
  </channel>
</rss>

