<?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 post JSON file in body in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-post-JSON-file-in-body/m-p/2354051#M120104</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a json file for my products ans then I need to call WS with the post method and OAuth2 Bearer authentification for each product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I used tWriteJSONField to create the json files and then I need a tRestClient but how can I send the json file&amp;nbsp;? with a TMAP or a tXMLMap&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 12:45:10 GMT</pubDate>
    <dc:creator>MCANTAL1639145723</dc:creator>
    <dc:date>2023-07-19T12:45:10Z</dc:date>
    <item>
      <title>tRestClient post JSON file in body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-post-JSON-file-in-body/m-p/2354051#M120104</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a json file for my products ans then I need to call WS with the post method and OAuth2 Bearer authentification for each product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I used tWriteJSONField to create the json files and then I need a tRestClient but how can I send the json file&amp;nbsp;? with a TMAP or a tXMLMap&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 12:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-post-JSON-file-in-body/m-p/2354051#M120104</guid>
      <dc:creator>MCANTAL1639145723</dc:creator>
      <dc:date>2023-07-19T12:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient post JSON file in body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-post-JSON-file-in-body/m-p/2354052#M120105</link>
      <description>&lt;P&gt;Hi @M CANTAL​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you used tWriteJSONField to create your json tree, you can just use a tMap to map tWriteJSONField output column to tRESClient string column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another option would be using tXMLMap instead of tWriteJSONField to create the tree nodes and map it to tRESTClient body column.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 00:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-post-JSON-file-in-body/m-p/2354052#M120105</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-07-20T00:52:37Z</dc:date>
    </item>
  </channel>
</rss>

