<?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: TRESTCLIENT - How to PASS values to TrestClient Client in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316878#M87389</link>
    <description>&lt;P&gt;hello, Priya ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create new data by using a POST method in talend , i have JSON input and authentication as a barrier token.  my question is that by using tREST component how to do that?&lt;/P&gt;&lt;P&gt;pls help me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 13:01:06 GMT</pubDate>
    <dc:creator>navnath</dc:creator>
    <dc:date>2021-11-17T13:01:06Z</dc:date>
    <item>
      <title>TRESTCLIENT - How to PASS values to TrestClient Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316876#M87387</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am very new to Talend. I am working on a task where I have to load the data from oracle database to rest interface. I have designed my job like below. I have to load the data from database as the nested JSON structure into REST interface. I have designed my job like below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="restclient.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M61E.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152044iEE1FCDB8BF902AFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M61E.png" alt="0683p000009M61E.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;in the input schema I have mapped the output from twritejsonfield component. The data should be passed in the below format.&lt;/P&gt; 
&lt;P&gt;Key: “testKey”, Value: { "name": "testUser" } &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;curl -X POST -H "Content-Type: application/vnd.kafka.json.v2+json" --data "{ \"records\" : [ { \"key\": \"testKey\", \"value\": { \"name\": \"testUser\" } } ] }"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am not sure where to accommodate this format in the trestclient component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The below is working fine in trest component.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="rest content.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M67V.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134922i06100109F3A9FF10/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M67V.png" alt="0683p000009M67V.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Please help on how to pass my json data to rest&amp;nbsp;via the Trestclient or Trest components in the above format.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you!&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Priya&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316876#M87387</guid>
      <dc:creator>PRIYABOSCH</dc:creator>
      <dc:date>2024-11-16T05:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: TRESTCLIENT - How to PASS values to TrestClient Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316877#M87388</link>
      <description>&lt;P&gt;tRestClient will read the POST body from a variable called 'string'.&amp;nbsp; In the incoming row, have your body in a schema variable called 'string' and make sure your input schema for the tRestClient has the one variable 'string' in it.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 05:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316877#M87388</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-07-07T05:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: TRESTCLIENT - How to PASS values to TrestClient Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316878#M87389</link>
      <description>&lt;P&gt;hello, Priya ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create new data by using a POST method in talend , i have JSON input and authentication as a barrier token.  my question is that by using tREST component how to do that?&lt;/P&gt;&lt;P&gt;pls help me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 13:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRESTCLIENT-How-to-PASS-values-to-TrestClient-Client/m-p/2316878#M87389</guid>
      <dc:creator>navnath</dc:creator>
      <dc:date>2021-11-17T13:01:06Z</dc:date>
    </item>
  </channel>
</rss>

