<?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: tRestResponse and JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376264#M138476</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Is it possible to&amp;nbsp;&lt;SPAN&gt;accept JSON in tRESTClient?I want to use&amp;nbsp; tWriteJSONField component before&amp;nbsp;tRESTClient , but return 500 error.&amp;nbsp;Since the request method of KPI is POST, the parameters are sent to tRESTClient component in JSON format to get the data.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 08:21:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-20T08:21:01Z</dc:date>
    <item>
      <title>tRestResponse and JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376260#M138472</link>
      <description>Hi!&lt;BR /&gt;Is it possible to return JSON in tRestResponse component? Xml works okay with tXmlMap component. But if we try to use tWriteJSONField component before tRESTResponse it does not work.. the tWriteJsonField component works okay if we log the data with tLogRow component..</description>
      <pubDate>Sat, 16 Nov 2024 12:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376260#M138472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: tRestResponse and JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376261#M138473</link>
      <description>Hi
&lt;BR /&gt;You need to link tWriteJSONField to a tXMLMap component to map the result of tWriteJSONFiled to the body of tRESTResponse before tRESTResponse. Please see my screenshots.
&lt;BR /&gt;Best reegards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 21 May 2012 15:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376261#M138473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-21T15:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: tRestResponse and JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376262#M138474</link>
      <description>Thanks for the answer Shong.. 
&lt;BR /&gt;The answer is more simple than I Imagined.. You just have to use Accept: application/json as http header in http reguest and it works.. Use for example fiddler or curl in testing 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; No need to add json components to the job.. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 22 May 2012 14:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376262#M138474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-22T14:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: tRestResponse and JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376263#M138475</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Thanks for the answer Shong.. &lt;BR /&gt;The answer is more simple than I Imagined.. You just have to use Accept: application/json as http header in http reguest and it works.. Use for example fiddler or curl in testing &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; No need to add json components to the job.. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;ah, yes, I thought why do you need to write a Json string with tWriteJsonFiled. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 22 May 2012 14:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376263#M138475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-22T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: tRestResponse and JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376264#M138476</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Is it possible to&amp;nbsp;&lt;SPAN&gt;accept JSON in tRESTClient?I want to use&amp;nbsp; tWriteJSONField component before&amp;nbsp;tRESTClient , but return 500 error.&amp;nbsp;Since the request method of KPI is POST, the parameters are sent to tRESTClient component in JSON format to get the data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376264#M138476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-20T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: tRestResponse and JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376265#M138477</link>
      <description>Hi Min 
&lt;BR /&gt;The tRestClient requires a document and you need to use a tXMLMap before tRestClient to build the document, if you can select 'Json' format in the Accept Type list, the component will pass the data in JSON format. 
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 20 Nov 2019 08:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestResponse-and-JSON/m-p/2376265#M138477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-20T08:40:32Z</dc:date>
    </item>
  </channel>
</rss>

