<?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: Post method in the tREST in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436248#M140433</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257838"&gt;@Shicong_Hong&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you very much,if it is possible can you share one example. It will be a great help.&lt;BR /&gt;Below is the HTTP body I was passing&lt;BR /&gt;"{&lt;BR /&gt;\"disbursement_date\":\"11-02-2024\",&lt;BR /&gt;\"disbursement_mode\":\"ECS\",&lt;BR /&gt;\"branch_code\":\"0001\",&lt;BR /&gt;\"center_code\":\"332\",&lt;BR /&gt;\"officer_code\":\"V45801\",&lt;BR /&gt;\"disbursements[0][account_no]\":\"12345667\",&lt;BR /&gt;\"disbursements[0][amount]\":\"12345\",&lt;BR /&gt;\"disbursements[0][bank_account_no]\":\"11222222222\",&lt;BR /&gt;\"disbursements[0][bank_wire_code]\":\"ABC1234567\",&lt;BR /&gt;\"disbursements[0][remark]\":\"\",&lt;BR /&gt;\"disbursements[0][foreclosure_reason]\":\"\"&lt;BR /&gt;}"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;K11&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 05:20:19 GMT</pubDate>
    <dc:creator>K11</dc:creator>
    <dc:date>2024-04-01T05:20:19Z</dc:date>
    <item>
      <title>Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2435890#M140431</link>
      <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;I am trying to print the HTTP body in the tLogRow sending it through the tREST.How can I Print the REquest Body?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 03:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2435890#M140431</guid>
      <dc:creator>K11</dc:creator>
      <dc:date>2024-04-01T03:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436241#M140432</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/293898"&gt;@K11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want to print the body string of http body?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-01_11-33-49.png" style="width: 584px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163091i90B3D90C92181383/image-dimensions/584x404?v=v2" width="584" height="404" role="button" title="2024-04-01_11-33-49.png" alt="2024-04-01_11-33-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If so, assign the body string to a context variable and set the &lt;STRONG&gt;http body&lt;/STRONG&gt; field using context variable, then you can print the value of context variable on any other components such as tJava, tJavaRow or log the value of context variable to console through tFixedFlowInput--main--tLogRow.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 03:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436241#M140432</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-04-01T03:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436248#M140433</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257838"&gt;@Shicong_Hong&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you very much,if it is possible can you share one example. It will be a great help.&lt;BR /&gt;Below is the HTTP body I was passing&lt;BR /&gt;"{&lt;BR /&gt;\"disbursement_date\":\"11-02-2024\",&lt;BR /&gt;\"disbursement_mode\":\"ECS\",&lt;BR /&gt;\"branch_code\":\"0001\",&lt;BR /&gt;\"center_code\":\"332\",&lt;BR /&gt;\"officer_code\":\"V45801\",&lt;BR /&gt;\"disbursements[0][account_no]\":\"12345667\",&lt;BR /&gt;\"disbursements[0][amount]\":\"12345\",&lt;BR /&gt;\"disbursements[0][bank_account_no]\":\"11222222222\",&lt;BR /&gt;\"disbursements[0][bank_wire_code]\":\"ABC1234567\",&lt;BR /&gt;\"disbursements[0][remark]\":\"\",&lt;BR /&gt;\"disbursements[0][foreclosure_reason]\":\"\"&lt;BR /&gt;}"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;K11&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 05:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436248#M140433</guid>
      <dc:creator>K11</dc:creator>
      <dc:date>2024-04-01T05:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436274#M140434</link>
      <description>&lt;P&gt;If you want to print this http body on the console, you just need to do it on a tJava component before tRest, for example:&lt;/P&gt;
&lt;P&gt;tJava--onsubjobok--tRest&lt;/P&gt;
&lt;P&gt;on tJava:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;context.body="your http body string";&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;System.out.println(context.body);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;On tRest comonent, set the &lt;STRONG&gt;Http body&lt;/STRONG&gt; field using context variable: context.body&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 07:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436274#M140434</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-04-01T07:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436557#M140439</link>
      <description>&lt;P&gt;Hi Shicong_Hong,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How can i show the above payload in the table format keys as column&amp;nbsp; and value in rows ? and how to send form-data in the tRest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 07:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436557#M140439</guid>
      <dc:creator>K11</dc:creator>
      <dc:date>2024-04-02T07:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436677#M140440</link>
      <description>&lt;P&gt;If you print the payload string using tLogRow component, you can select the '&lt;STRONG&gt;Table&lt;/STRONG&gt;' mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-02_18-25-28.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163177i90034293FB29B670/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2024-04-02_18-25-28.png" alt="2024-04-02_18-25-28.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436677#M140440</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-04-02T10:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Post method in the tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436706#M140441</link>
      <description>&lt;P&gt;Is this payload correct for the body. I am getting below error&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="K11_0-1712056337981.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163180i075FC36C022FC479/image-size/medium?v=v2&amp;amp;px=400" role="button" title="K11_0-1712056337981.png" alt="K11_0-1712056337981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="K11_1-1712056452337.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163183i9D302F39A66BE046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="K11_1-1712056452337.png" alt="K11_1-1712056452337.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 11:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-method-in-the-tREST/m-p/2436706#M140441</guid>
      <dc:creator>K11</dc:creator>
      <dc:date>2024-04-02T11:14:23Z</dc:date>
    </item>
  </channel>
</rss>

