<?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 trestClient: how to set body in POST request in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316267#M86830</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to set body in prost request using trestClient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the body:&lt;/P&gt;&lt;P&gt;&amp;lt;Request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Username&amp;gt;[Your Username]&amp;lt;/Username&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Password&amp;gt;[Your Password]&amp;lt;/Password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;RequestType&amp;gt;GetCountries&amp;lt;/RequestType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Body/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Request&amp;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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in postman : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcdV6AAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151326i4A528A4AD04F33D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcdV6AAJ.png" alt="0693p00000AcdV6AAJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the requests should be sent to the server with the "xml" parameter name using the HTTP POST method.&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="0693p00000AcdbdAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156276i35B5041E42793D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcdbdAAB.png" alt="0693p00000AcdbdAAB.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this ......&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 15:23:36 GMT</pubDate>
    <dc:creator>hiba1</dc:creator>
    <dc:date>2020-12-30T15:23:36Z</dc:date>
    <item>
      <title>trestClient: how to set body in POST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316267#M86830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to set body in prost request using trestClient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the body:&lt;/P&gt;&lt;P&gt;&amp;lt;Request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Username&amp;gt;[Your Username]&amp;lt;/Username&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Password&amp;gt;[Your Password]&amp;lt;/Password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;RequestType&amp;gt;GetCountries&amp;lt;/RequestType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Body/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Request&amp;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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in postman : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcdV6AAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151326i4A528A4AD04F33D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcdV6AAJ.png" alt="0693p00000AcdV6AAJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the requests should be sent to the server with the "xml" parameter name using the HTTP POST method.&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="0693p00000AcdbdAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156276i35B5041E42793D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcdbdAAB.png" alt="0693p00000AcdbdAAB.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this ......&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 15:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316267#M86830</guid>
      <dc:creator>hiba1</dc:creator>
      <dc:date>2020-12-30T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: trestClient: how to set body in POST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316268#M86831</link>
      <description>&lt;P&gt;@hiba chaieb​&amp;nbsp;, The body should be passed as input schema to tRestclient check the below example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://wynandbooysen.com/posts/2019-07-08-talend-tip-posting-json-with-trestclient/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 12:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316268#M86831</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-01-05T12:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: trestClient: how to set body in POST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316269#M86832</link>
      <description>&lt;P&gt;Hi @Manohar B​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how i call the key "xml" in trestClient ....the body must be in a variable called "xml" like in the screenshot in postman.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hiba&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316269#M86832</guid>
      <dc:creator>hiba1</dc:creator>
      <dc:date>2021-01-05T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: trestClient: how to set body in POST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316270#M86833</link>
      <description>&lt;P&gt;@hiba chaieb​&amp;nbsp;,check this case  answer accept type selected xml like that you need to configure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://community.talend.com/s/feed/0D73p000004kWEVCA2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 12:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316270#M86833</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-01-06T12:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: trestClient: how to set body in POST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316271#M86834</link>
      <description>&lt;P&gt;i didn't get the result :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BAosEAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144812iD2814C97A72E1882/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BAosEAAT.png" alt="0693p00000BAosEAAT.png" /&gt;&lt;/span&gt;All XML requests should be sent to the server with the "xml" parameter name using the HTTP POST method.&lt;/P&gt;&lt;P&gt;the body is : &lt;/P&gt;&lt;P&gt;&amp;lt;Request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Username&amp;gt;[Your Username]&amp;lt;/Username&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Password&amp;gt;[Your Password]&amp;lt;/Password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;RequestType&amp;gt;GetCountries&amp;lt;/RequestType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Body/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Request&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 09:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/trestClient-how-to-set-body-in-POST-request/m-p/2316271#M86834</guid>
      <dc:creator>hiba1</dc:creator>
      <dc:date>2021-01-07T09:36:29Z</dc:date>
    </item>
  </channel>
</rss>

