<?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: Talend trest Post with body in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2452522#M140644</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hi&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;You can assign the string value to a variable on a tJavaRow component. eg:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;tRest--main--tJavaRow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;on tJavaRow:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;context.varName=input_row.Body;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;//context.varName is a context variable defined in the &lt;STRONG&gt;Context&lt;/STRONG&gt; view.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 06:38:02 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2024-05-15T06:38:02Z</dc:date>
    <item>
      <title>Talend trest Post with body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2451883#M140643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is our second week using talend as an organisation after training, so we are very fresh.&lt;/P&gt;
&lt;P&gt;I am currently sending a body in trest to retrieve a token.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my setup&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rfoot_1-1715632700537.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165963i215E347DCD472694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rfoot_1-1715632700537.png" alt="Rfoot_1-1715632700537.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my tmap. The response is a string and not json for some unknown reason so textractjson didn't work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rfoot_2-1715632731130.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165964iD13FD4913A4BF630/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rfoot_2-1715632731130.png" alt="Rfoot_2-1715632731130.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get that token successfully in this format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rfoot_3-1715632841241.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165965i362824FCED64DD41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rfoot_3-1715632841241.png" alt="Rfoot_3-1715632841241.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How does one put that string value into a variable?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ryan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2451883#M140643</guid>
      <dc:creator>Rfoot</dc:creator>
      <dc:date>2024-11-15T20:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Talend trest Post with body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2452522#M140644</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hi&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;You can assign the string value to a variable on a tJavaRow component. eg:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;tRest--main--tJavaRow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;on tJavaRow:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;context.varName=input_row.Body;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;//context.varName is a context variable defined in the &lt;STRONG&gt;Context&lt;/STRONG&gt; view.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 06:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2452522#M140644</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-05-15T06:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Talend trest Post with body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2453962#M140662</link>
      <description>&lt;P&gt;Hi Shicong_Hong,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the reply.&lt;/P&gt;
&lt;P&gt;I have given this a go and I believe it worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My twarn has the message:&amp;nbsp;"Context varName = " + context.varName&lt;/P&gt;
&lt;P&gt;This is the output.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rfoot_0-1716149372464.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166390iFF0EAFF6B31A6D94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rfoot_0-1716149372464.png" alt="Rfoot_0-1716149372464.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, thank you very much for the help. Much Appreciated.&lt;/P&gt;
&lt;P&gt;Ryan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2024 20:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2453962#M140662</guid>
      <dc:creator>Rfoot</dc:creator>
      <dc:date>2024-05-19T20:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Talend trest Post with body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2454053#M140665</link>
      <description>&lt;P&gt;Glad to be of help. Thanks for your feedback!&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 07:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-trest-Post-with-body/m-p/2454053#M140665</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-05-20T07:03:16Z</dc:date>
    </item>
  </channel>
</rss>

