<?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: tRESTClient POST - issue with body from file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343090#M110885</link>
    <description>&lt;P&gt;You need to send the JSON to the "string" column for JSON. What you are doing here appears to be parsing the initial JSON from the file and then sending it to the "body" column. "body" is for XML.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 13:09:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-20T13:09:24Z</dc:date>
    <item>
      <title>tRESTClient POST - issue with body from file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343089#M110884</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;I have to get from Spotify Access Token.&lt;/P&gt;&lt;P&gt;I have to build a body but still I have some issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have parameters in the in JSON format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;	"body": [{&lt;/P&gt;&lt;P&gt;				"client_secret":"aaaaaaaaaaaaaaa",&lt;/P&gt;&lt;P&gt;				"client_id":"vvvvvvvvvvvvvv",&lt;/P&gt;&lt;P&gt;				"grant_type":"client_credentials"&lt;/P&gt;&lt;P&gt;				}&lt;/P&gt;&lt;P&gt;			]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000ceRFAAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137158i6E295B5D3687CCE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000ceRFAAA2.png" alt="0695b00000ceRFAAA2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343089#M110884</guid>
      <dc:creator>cichy314</dc:creator>
      <dc:date>2024-11-15T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient POST - issue with body from file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343090#M110885</link>
      <description>&lt;P&gt;You need to send the JSON to the "string" column for JSON. What you are doing here appears to be parsing the initial JSON from the file and then sending it to the "body" column. "body" is for XML.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 13:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343090#M110885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-20T13:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient POST - issue with body from file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343091#M110886</link>
      <description>&lt;P&gt;Can I use tXMLMap or should I use different component to do string for tRESTClient ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 14:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343091#M110886</guid>
      <dc:creator>cichy314</dc:creator>
      <dc:date>2023-01-20T14:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient POST - issue with body from file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343092#M110887</link>
      <description>&lt;P&gt;It is probably easier to build the JSON using a tJavaFlex and some Java to be honest. I have used Spotify before and it seems that you are doing something that I don't think is covered by the documentation here. Take a look at this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://developer.spotify.com/documentation/general/guides/authorization/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have put together a tutorial video on using Spotify with Talend here: https://www.youtube.com/watch?v=mBcRTQB5n0c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't cover OAuth 2 in this example, but shows you how you can use the APIs easily. You may be helped by this. When it comes to sorting out a solution to getting access tokens, I have put together an example with FitBit. OAuth 2 is essentially the same everywhere. There are some subtle differences, but the overall flow is consistent. The video I put together on FitBit is here: https://www.youtube.com/watch?v=6Irs-SvviNc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The jobs are downloadable from the videos so you can have a play.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 15:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-POST-issue-with-body-from-file/m-p/2343092#M110887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-20T15:12:10Z</dc:date>
    </item>
  </channel>
</rss>

