<?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 Post request With tRestClient and json file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302973#M74902</link>
    <description>&lt;P&gt;Hello Community&lt;/P&gt; 
&lt;P&gt;I want &lt;SPAN&gt;&amp;nbsp;to call a webservice with tRestClient using json file which content login and password&amp;nbsp; to authentify.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have already testing it with Restlet Client and it works,further more i'm tryin to apply a lot of solutions that i found in community but without succes.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I get this error in Talend(v7.0.1) :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Exception in component tRESTClient_2 (trestcleint)&lt;BR /&gt;javax.ws.rs.WebApplicationException: HTTP 400 Bad Request&lt;BR /&gt;at local_project.trestcleint_0_1.trestcleint.tFileInputJSON_1Process(trestcleint.java:938)&lt;BR /&gt;at local_project.trestcleint_0_1.trestcleint.runJobInTOS(trestcleint.java:1272)&lt;BR /&gt;at local_project.trestcleint_0_1.trestcleint.main(trestcleint.java:1121)&lt;BR /&gt;[statistics] disconnected&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_trestClient.PNG" style="width: 850px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5h3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154404iDD1BE13EA4B83A3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5h3.png" alt="0683p000009M5h3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="json_file.PNG" style="width: 878px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5cD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132523iBCDA7E14196508F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5cD.png" alt="0683p000009M5cD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trestCleint.PNG" style="width: 929px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5h8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137364i489AFE52CBA7D629/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5h8.png" alt="0683p000009M5h8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Anybody can help me please?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank's in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2019 16:54:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-25T16:54:05Z</dc:date>
    <item>
      <title>Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302973#M74902</link>
      <description>&lt;P&gt;Hello Community&lt;/P&gt; 
&lt;P&gt;I want &lt;SPAN&gt;&amp;nbsp;to call a webservice with tRestClient using json file which content login and password&amp;nbsp; to authentify.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have already testing it with Restlet Client and it works,further more i'm tryin to apply a lot of solutions that i found in community but without succes.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I get this error in Talend(v7.0.1) :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Exception in component tRESTClient_2 (trestcleint)&lt;BR /&gt;javax.ws.rs.WebApplicationException: HTTP 400 Bad Request&lt;BR /&gt;at local_project.trestcleint_0_1.trestcleint.tFileInputJSON_1Process(trestcleint.java:938)&lt;BR /&gt;at local_project.trestcleint_0_1.trestcleint.runJobInTOS(trestcleint.java:1272)&lt;BR /&gt;at local_project.trestcleint_0_1.trestcleint.main(trestcleint.java:1121)&lt;BR /&gt;[statistics] disconnected&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_trestClient.PNG" style="width: 850px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5h3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154404iDD1BE13EA4B83A3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5h3.png" alt="0683p000009M5h3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="json_file.PNG" style="width: 878px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5cD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132523iBCDA7E14196508F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5cD.png" alt="0683p000009M5cD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trestCleint.PNG" style="width: 929px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5h8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137364i489AFE52CBA7D629/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5h8.png" alt="0683p000009M5h8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Anybody can help me please?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank's in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 16:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302973#M74902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T16:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302974#M74903</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOQsAAO"&gt;@shima&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the Web URL in any web browser as it seems as an incorrect url.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to that please check if you have any authentication, or if you require any proxy to connect to the API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 17:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302974#M74903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T17:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302975#M74904</link>
      <description>&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;P&gt;i have testing this url in RestLet Client(REST API TESTING) and it works using the authentification,&lt;/P&gt;&lt;P&gt;In Talend i put the login and password in a json file,is it the right way to authentify to webservice.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 19:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302975#M74904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T19:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302976#M74905</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOQsAAO"&gt;@shima&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to check the use Authentication checkbox and provide the user name and password.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively you can store those details in context and use them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 19:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302976#M74905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T19:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302977#M74906</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I had already tried&lt;/SPAN&gt; to check the authentication with method GET but it still give an error(javax.ws.rs.NotAllowedException: HTTP 405 Method Not Allowed),and when i tryin with method post it give me the first error HTTP 400.&lt;/P&gt;
&lt;P&gt;is there another way to pass login and password to Trestclient.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302977#M74906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-26T12:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302978#M74907</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOQsAAO"&gt;@shima&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, you can only pass your authentication in tRestClient as context or by hardcoded value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check if you require any kind of proxy to connect to the API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 15:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302978#M74907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-26T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302979#M74908</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i have checked and there isn't no proxy to connect to my api.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;when i tested it in postman it's working with success. it's weird!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302979#M74908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-27T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302980#M74909</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i found the solution,i added a tmap&amp;nbsp;&lt;SPAN&gt;in which I added a String variable that contains the login and password in this forme : new String("{ \"login\":\"test\",\"motPasse\":\"admin\"}").&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 09:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302980#M74909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-28T09:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302981#M74910</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am also working in API REST.Could you please post the screen captures ,how you did in your job that could be useful for me .I got stuck with this and I couldn't progress on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 13:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302981#M74910</guid>
      <dc:creator>Manoj_MUTHURAJA</dc:creator>
      <dc:date>2019-12-30T13:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Post request With tRestClient and json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302982#M74911</link>
      <description>&lt;P&gt;See https://community.talend.com/s/feed/0D73p0000047jYoCAI&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 15:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-With-tRestClient-and-json-file/m-p/2302982#M74911</guid>
      <dc:creator>LuciusHunt</dc:creator>
      <dc:date>2020-09-09T15:30:39Z</dc:date>
    </item>
  </channel>
</rss>

