<?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 with POST method does not write body in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-with-POST-method-does-not-write-body/m-p/2254029#M37164</link>
    <description>&lt;P&gt;Solved! I overlooked that the body must be of type document (not: String!)&lt;/P&gt;
&lt;P&gt;Furthermore you can use tXMLMap to create such a document and pass it to tRESTClient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In tRESTClient you can select ContentType JSON (althought you passed an XML document!!!) and in the Advanced settings check "Drop JSON Request Root".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In tXMLMap you create 2 attributes: body (of type document) and string (of type String). For an attribute of type document automatically a sub-element named "root" for looping is created. With a right-click on this root-element you can create next-level sub-elements where-to you can map your input-attributes...&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 08:50:07 GMT</pubDate>
    <dc:creator>dstreun</dc:creator>
    <dc:date>2020-01-17T08:50:07Z</dc:date>
    <item>
      <title>tRESTClient with POST method does not write body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-with-POST-method-does-not-write-body/m-p/2254028#M37163</link>
      <description>&lt;P&gt;I want to read data (several rows) from a database table, build json strings from each row (by using tWriteJSONField) and send them to a REST service by a POST request.&lt;/P&gt;&lt;P&gt;But the tRESTClient component used with a POST method does not write the body. Is this a bug?&lt;/P&gt;&lt;P&gt;Someone else recommends using the tREST component but this component does not accept an input (row).&lt;/P&gt;&lt;P&gt;What else can I do?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 09:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-with-POST-method-does-not-write-body/m-p/2254028#M37163</guid>
      <dc:creator>dstreun</dc:creator>
      <dc:date>2020-01-15T09:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient with POST method does not write body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-with-POST-method-does-not-write-body/m-p/2254029#M37164</link>
      <description>&lt;P&gt;Solved! I overlooked that the body must be of type document (not: String!)&lt;/P&gt;
&lt;P&gt;Furthermore you can use tXMLMap to create such a document and pass it to tRESTClient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In tRESTClient you can select ContentType JSON (althought you passed an XML document!!!) and in the Advanced settings check "Drop JSON Request Root".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In tXMLMap you create 2 attributes: body (of type document) and string (of type String). For an attribute of type document automatically a sub-element named "root" for looping is created. With a right-click on this root-element you can create next-level sub-elements where-to you can map your input-attributes...&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 08:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-with-POST-method-does-not-write-body/m-p/2254029#M37164</guid>
      <dc:creator>dstreun</dc:creator>
      <dc:date>2020-01-17T08:50:07Z</dc:date>
    </item>
  </channel>
</rss>

