<?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 How to POST www-form-urlencoded body with talend httpService in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-POST-www-form-urlencoded-body-with-talend-httpService/m-p/2247759#M149234</link>
    <description>&lt;P&gt;Hi everybody!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you help me, I would like to use standard&lt;/P&gt; 
&lt;PRE&gt;org.talend.sdk.component.api.service.http.HttpClient&lt;/PRE&gt; 
&lt;P&gt;to submit POST request to an endpoint.&lt;/P&gt; 
&lt;P&gt;I see example where body in JsonObject:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://github.com/rmannibucau/components-sample/blob/master/servicenow/src/main/java/org/talend/components/servicenow/service/http/TableApiClient.java#L99-L121" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/rmannibucau/components-sample/blob/master/servicenow/src/main/java/org/talend/components/servicenow/service/http/TableApiClient.java#L99-L121&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Is there way to configure HttpClient to post www-form-urlencoded parameters in request body.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you very much!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
    <dc:creator>igorbeslic</dc:creator>
    <dc:date>2026-01-02T14:45:42Z</dc:date>
    <item>
      <title>How to POST www-form-urlencoded body with talend httpService</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-POST-www-form-urlencoded-body-with-talend-httpService/m-p/2247759#M149234</link>
      <description>&lt;P&gt;Hi everybody!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you help me, I would like to use standard&lt;/P&gt; 
&lt;PRE&gt;org.talend.sdk.component.api.service.http.HttpClient&lt;/PRE&gt; 
&lt;P&gt;to submit POST request to an endpoint.&lt;/P&gt; 
&lt;P&gt;I see example where body in JsonObject:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://github.com/rmannibucau/components-sample/blob/master/servicenow/src/main/java/org/talend/components/servicenow/service/http/TableApiClient.java#L99-L121" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/rmannibucau/components-sample/blob/master/servicenow/src/main/java/org/talend/components/servicenow/service/http/TableApiClient.java#L99-L121&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Is there way to configure HttpClient to post www-form-urlencoded parameters in request body.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you very much!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-POST-www-form-urlencoded-body-with-talend-httpService/m-p/2247759#M149234</guid>
      <dc:creator>igorbeslic</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to POST www-form-urlencoded body with talend httpService</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-POST-www-form-urlencoded-body-with-talend-httpService/m-p/2247760#M149235</link>
      <description>&lt;P&gt;Yes it is... I took closer look at&lt;/P&gt; 
&lt;PRE&gt;org.talend.sdk.component.runtime.manager.service.http.RequestParser#parse&lt;/PRE&gt; 
&lt;P&gt;and concluded my method could be like this&lt;/P&gt; 
&lt;PRE&gt;@Codec(encoder = {XWWWFormURLEncoder.class})
	@Request(method = "POST", path = "/o/oauth2/token")
	public Response&amp;lt;JsonObject&amp;gt; getAccessToken(
		@Header("Content-Type") String contentType,
		OAuthDataStore oAuthDataStore);&lt;/PRE&gt; 
&lt;P&gt;where I had to add own body encoder implementation.&lt;/P&gt; 
&lt;P&gt;Fortunately Talend has good documentation and fluent lambda style code &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; so to figure out this wasn't trouble at all.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 09:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-POST-www-form-urlencoded-body-with-talend-httpService/m-p/2247760#M149235</guid>
      <dc:creator>igorbeslic</dc:creator>
      <dc:date>2019-04-12T09:02:48Z</dc:date>
    </item>
  </channel>
</rss>

