<?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 AND with authentication (OAuth 2) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195894#M290</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000005GtJEAA0"&gt;@JR&lt;/A&gt;&amp;nbsp;thanks, I think I'm almost there. So I&lt;SPAN&gt;&amp;nbsp;have a tWriteJSONField component which has "Output Column" of "body", then that feeds to tRESTClient component.&amp;nbsp; I logged the tWriteJSONField component and it seems to be outputting "body" correctly.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Then I send that over to the tRestClient component, but it looks like the body isn't being sent.&amp;nbsp; Can you take a look at the screenshots and let me know if this looks correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYM"&gt;Screen Shot 2019-08-14 at 11.34.47 AM.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwR7"&gt;Screen Shot 2019-08-14 at 11.35.22 AM.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwWG"&gt;Screen Shot 2019-08-14 at 12.06.52 PM.png&lt;/A&gt;</description>
    <pubDate>Wed, 14 Aug 2019 19:37:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-14T19:37:21Z</dc:date>
    <item>
      <title>POST request with JSON data AND with authentication (OAuth 2)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195892#M288</link>
      <description>&lt;P&gt;Using Postman, I can make a REST call with Auth AND raw JSON for the body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in Talend,&lt;/P&gt;&lt;P&gt;- If I use the tRest component, I can create a post request with JSON data, but there are no authentication options.&lt;/P&gt;&lt;P&gt;- If I use the tRestClient component, I can use authentication (OAuth2), but then I don't have a "HTTP Body" field to send raw JSON data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I make a REST call with Auth AND the "HTTP Body" field to send raw JSON?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talend Studio 7.2.1&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195892#M288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data AND with authentication (OAuth 2)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195893#M289</link>
      <description>&lt;P&gt;You use the tRESTClient component, pass the body via the input schema in the input column "body" and use the authentication as provided by the component. You will have to build your JSON in a step before the tRESTClient component. If you have follow-up questions, please post them here.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195893#M289</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2019-08-14T18:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data AND with authentication (OAuth 2)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195894#M290</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000005GtJEAA0"&gt;@JR&lt;/A&gt;&amp;nbsp;thanks, I think I'm almost there. So I&lt;SPAN&gt;&amp;nbsp;have a tWriteJSONField component which has "Output Column" of "body", then that feeds to tRESTClient component.&amp;nbsp; I logged the tWriteJSONField component and it seems to be outputting "body" correctly.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Then I send that over to the tRestClient component, but it looks like the body isn't being sent.&amp;nbsp; Can you take a look at the screenshots and let me know if this looks correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYM"&gt;Screen Shot 2019-08-14 at 11.34.47 AM.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwR7"&gt;Screen Shot 2019-08-14 at 11.35.22 AM.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwWG"&gt;Screen Shot 2019-08-14 at 12.06.52 PM.png&lt;/A&gt;</description>
      <pubDate>Wed, 14 Aug 2019 19:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195894#M290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-14T19:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data AND with authentication (OAuth 2)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195895#M291</link>
      <description>&lt;P&gt;It certainly looks as if the request is being sent and that you get a response with HTTP status 200 back (no error). The response seems to be passed in the "string" column of the components output which is the case when the server handles the response as a string. The output column "body" is null because the server does not respond with structured output. As I do not know what the service you are calling actually does, I cannot say, if the response looks OK. But the fact that you get a 200 indicates to me that this works. If the local service you are calling (http://localhost) gives you any indication if it was called, you could look into the logs of the service to see whether it has been called or not for additional assurance.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 08:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195895#M291</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2019-08-15T08:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: POST request with JSON data AND with authentication (OAuth 2)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195896#M292</link>
      <description>&lt;P&gt;how to give the json input to tRESTClient as body&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 07:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/POST-request-with-JSON-data-AND-with-authentication-OAuth-2/m-p/2195896#M292</guid>
      <dc:creator>navnath</dc:creator>
      <dc:date>2021-11-16T07:21:45Z</dc:date>
    </item>
  </channel>
</rss>

