<?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: How do I pass query parameter and x-www-urlencoded key value pair in tRESTClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-pass-query-parameter-and-x-www-urlencoded-key-value/m-p/2496062#M141602</link>
    <description>&lt;P&gt;I was able to resolve the issue.&lt;/P&gt;
&lt;P&gt;In the tRESTClient component, I switched the Accept Type option to 'any' and the job completed successfully.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_0-1733339443836.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175206iE135F42065C8B04D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_0-1733339443836.png" alt="himanshup_0-1733339443836.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 19:11:03 GMT</pubDate>
    <dc:creator>himanshup</dc:creator>
    <dc:date>2024-12-04T19:11:03Z</dc:date>
    <item>
      <title>How do I pass query parameter and x-www-urlencoded key value pair in tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-pass-query-parameter-and-x-www-urlencoded-key-value/m-p/2495875#M141598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In postman, I have the following URL for POST :&lt;/P&gt;
&lt;P&gt;&lt;A class="c-link" href="https://unreno.maps.arcgis.com/sharing/rest/community/users/" target="_blank" rel="noopener noreferrer" data-stringify-link="https://unreno.maps.arcgis.com/sharing/rest/community/users/" data-sk="tooltip_parent" aria-describedby="sk-tooltip-37163"&gt;https://some.site.com/sharing/rest/community/users/&lt;/A&gt;&lt;STRONG data-stringify-type="bold"&gt;&amp;lt;username&amp;gt;&lt;/STRONG&gt;&lt;SPAN&gt;/disable?token=&lt;/SPAN&gt;&lt;STRONG data-stringify-type="bold"&gt;&amp;lt;tokenvalue&amp;gt;&lt;BR /&gt;&lt;/STRONG&gt;In the body, I have to use key-value pair for x-www-urlencoded&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_0-1733267583370.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175161i3D99E4357950FB99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_0-1733267583370.png" alt="himanshup_0-1733267583370.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in params, I am passing:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_1-1733267665263.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175162i98160CB9A89AF718/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_1-1733267665263.png" alt="himanshup_1-1733267665263.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have successfully tested this in postman, However, I am unable to get it working in Talend Studio 8.&lt;/P&gt;
&lt;P&gt;My question is:&lt;BR /&gt;How do I accommodate both query parameter (token in my example); and x-www-encoded form value in tRESTClient for a POST API call?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talend error:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;ERROR] 14:54:56 org.apache.cxf.jaxrs.utils.JAXRSUtils- No message body reader has been found for class org.dom4j.Document, ContentType: text/plain;charset=utf-8&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_3-1733267977296.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175164iD42E77426DDDF750/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_3-1733267977296.png" alt="himanshup_3-1733267977296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 23:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-pass-query-parameter-and-x-www-urlencoded-key-value/m-p/2495875#M141598</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-12-03T23:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pass query parameter and x-www-urlencoded key value pair in tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-pass-query-parameter-and-x-www-urlencoded-key-value/m-p/2496062#M141602</link>
      <description>&lt;P&gt;I was able to resolve the issue.&lt;/P&gt;
&lt;P&gt;In the tRESTClient component, I switched the Accept Type option to 'any' and the job completed successfully.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_0-1733339443836.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175206iE135F42065C8B04D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_0-1733339443836.png" alt="himanshup_0-1733339443836.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 19:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-pass-query-parameter-and-x-www-urlencoded-key-value/m-p/2496062#M141602</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-12-04T19:11:03Z</dc:date>
    </item>
  </channel>
</rss>

