<?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 request with JSON data to tRESTClient component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353119#M119376</link>
    <description>Use tMap instead of the txmlmap. If not, txmlmap will create the xml in the body even if you don't put anything in this field.&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
    <pubDate>Tue, 14 Jun 2016 11:00:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-14T11:00:04Z</dc:date>
    <item>
      <title>POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353095#M119352</link>
      <description>How can I create POST request with JSON data using tRESTClient component? I can only successfully send XML Document. Should I put JSON data inside XML element? It seems that is the only way to send JSON data. I am using talend 5.5.1.</description>
      <pubDate>Sat, 16 Nov 2024 10:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353095#M119352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353096#M119353</link>
      <description>You need to set the request header Content-Type to application/json. And no do not mix XML with JSON, this is a terrible idea!</description>
      <pubDate>Thu, 02 Jun 2016 22:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353096#M119353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-02T22:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353097#M119354</link>
      <description>Which component should I use ? tRESTClient or tREST ? I would like to use tRESTClient but it only inputs "Document" type of data and JSON data are String type.</description>
      <pubDate>Fri, 03 Jun 2016 06:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353097#M119354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T06:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353098#M119355</link>
      <description>The Document type is quite ok. This is the result of the tXMLMap or another document related components in Talend.&lt;BR /&gt;For an REST request you need an document.</description>
      <pubDate>Fri, 03 Jun 2016 08:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353098#M119355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T08:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353099#M119356</link>
      <description>So how can I use tRESTClient ? Right now the problem is that JSON data is in String and tRESTClient needs a Document data.</description>
      <pubDate>Fri, 03 Jun 2016 09:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353099#M119356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T09:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353100#M119357</link>
      <description>Hello,&lt;BR /&gt;In the component tRESTClient, there are two fields : 'body' and 'string'. You need to juste put your string json in the field 'string' of the tRESTClient.&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Fri, 03 Jun 2016 13:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353100#M119357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353101#M119358</link>
      <description>when I put string into a tRestclient's string filed I always get null on the other side inside a service. But the body gets through. What am I doing wrong?</description>
      <pubDate>Sat, 04 Jun 2016 21:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353101#M119358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-04T21:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353102#M119359</link>
      <description>The other side you mean the output? In the output, there are also body and string. But it's not body and string of the input. If you choose the option 'Convert Response To DOM Document', the result of the ouput will be put in the body. If not, the result will be put in the string.&amp;nbsp;&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Mon, 06 Jun 2016 13:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353102#M119359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-06T13:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353103#M119360</link>
      <description>On the other side I mean on the service side. &lt;BR /&gt;I have 2 jobs, one is consumer that has tRestClient component. The tRestClient component has 2 inputs body and string. I am inputing both body and string.&amp;nbsp; &lt;BR /&gt;The second jobs is a service. In this job tRestResponse component outputs the string and body that was inputed in previosuly mentioned tRestClient component. &lt;BR /&gt;My problem is that from tRestResponse component i get out body but not string. String is always null no metter the input. &lt;BR /&gt;What should I do so the string won't be null? Right now from tRestResponse component I would also like to recive a string not just body.</description>
      <pubDate>Mon, 06 Jun 2016 14:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353103#M119360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-06T14:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353104#M119361</link>
      <description>I am using talend 5.5.1 and there is no 'Convert Response To DOM Document' option? &lt;BR /&gt;Is there something I can do in 5.5.1 version to transfer JSON data to the service and not inside XML?</description>
      <pubDate>Mon, 06 Jun 2016 17:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353104#M119361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-06T17:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353105#M119362</link>
      <description>For the component tRestClient, you don't need to put both body and string in the same time. If you want to put a xml, you use body, if not, you put just in string. There is not the option 'Convert Response To DOM Document' in the version 5.5.1? I use the version 6. Could you put a screenshot of 'Advanced settings' for your component tRestClient?&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Tue, 07 Jun 2016 16:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353105#M119362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-07T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353106#M119363</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;For the component tRestClient, you don't need to put both body and string in the same time.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You need to, otherwise it won't compile. 
&lt;BR /&gt;You can see that there is now 'Convert Response To DOM Document' option.
&lt;BR /&gt;
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Tue, 07 Jun 2016 17:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353106#M119363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-07T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353107#M119364</link>
      <description>You can see that there is now 'Convert Response To DOM Document' option.</description>
      <pubDate>Tue, 07 Jun 2016 17:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353107#M119364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-07T17:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353108#M119365</link>
      <description>&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEGJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146273iA5A14BD7AD10BA8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEGJ.png" alt="0683p000009MEGJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 07 Jun 2016 17:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353108#M119365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-07T17:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353109#M119366</link>
      <description>Can you update your talend to 5.5.2? There is this option from the version 5.5.2.
&lt;BR /&gt;Lin LIN
&lt;BR /&gt;Consultant BI/Talend
&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Wed, 08 Jun 2016 13:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353109#M119366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-08T13:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353110#M119367</link>
      <description>no I cannot upgrade.</description>
      <pubDate>Wed, 08 Jun 2016 15:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353110#M119367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-08T15:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353111#M119368</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt; 
     &lt;BLOCKQUOTE&gt; 
      &lt;TABLE border="1"&gt; 
       &lt;TBODY&gt; 
        &lt;TR&gt; 
         &lt;TD&gt;For the component tRestClient, you don't need to put both body and string in the same time.&lt;/TD&gt; 
        &lt;/TR&gt; 
       &lt;/TBODY&gt; 
      &lt;/TABLE&gt; 
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;You need to, otherwise it won't compile. &lt;BR /&gt;You can see that there is now 'Convert Response To DOM Document' option.&lt;BR /&gt;&lt;A href="http://imgur.com/f7DfHAx" rel="nofollow noopener noreferrer"&gt;http://imgur.com/f7DfHAx&lt;/A&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;This is not strictly true. While you need to connect from one component to the tRestClient supplying a "string" and "body" column, they do not both need to actually be populated with anything.&amp;nbsp; 
&lt;BR /&gt;If you simply supply a correct formatted JSON String to the "string" column and leave the "body" column empty, the service you are calling will receive the JSON. It will be converted to XML and will be received via the body Document column (you will need to create this), but it will be received.</description>
      <pubDate>Thu, 09 Jun 2016 14:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353111#M119368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353112#M119369</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;If you simply supply a correct formatted JSON String to the "string" column and leave the "body" column empty, the service you are calling will receive the JSON. &lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;I cannot crete this kind of job. 
&lt;BR /&gt;Can you tell me how to set components to achieve this? 
&lt;BR /&gt;Right now I have consumer job with:
&lt;BR /&gt;tfixedflow--tXMLmap--tRESTClient
&lt;BR /&gt;And service with&amp;nbsp;
&lt;BR /&gt;tRESTRequest--tXMLmap--RESTResponse
&lt;BR /&gt;If I do like you said I get null inside 'string'.</description>
      <pubDate>Sun, 12 Jun 2016 09:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353112#M119369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-12T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353113#M119370</link>
      <description>I assume you mean that you receive null inside "string" in the service. The service will not receive a "string" value, it will receive a "body" document. The JSON will be translated to a XML document.</description>
      <pubDate>Sun, 12 Jun 2016 17:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353113#M119370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-12T17:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data to tRESTClient component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353114#M119371</link>
      <description>It doesnt work. &lt;BR /&gt;If on the client side I leave body empty and put JSON inside string and &lt;BR /&gt;on the service side if I try to get JSON from the body I get an runtime error. &lt;BR /&gt;But this works: &lt;BR /&gt;If I put JSON inside XML and inside body and If I set tRESTClient that accepts JSON, I get JSON on the service side from body.</description>
      <pubDate>Mon, 13 Jun 2016 13:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-to-tRESTClient-component/m-p/2353114#M119371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-13T13:12:19Z</dc:date>
    </item>
  </channel>
</rss>

