<?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: loop variables in tREST POST method in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252436#M36075</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, if you have access to the API, you can check payload has passed from Talend in the backend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 05:21:47 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-05-15T05:21:47Z</dc:date>
    <item>
      <title>loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252426#M36065</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a job to extract data from an API and i'm using tREST component with a POST method.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;These are the sample data from my API;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="token string"&gt;"data"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;
    &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
      &lt;SPAN class="token string"&gt;"name"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Lisa"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
      &lt;SPAN class="token string"&gt;"product"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; "product1"&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
      &lt;SPAN class="token string"&gt;"unit"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"unit1"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;BR /&gt;    {
      &lt;SPAN class="token string"&gt;"name"&lt;/SPAN&gt;: &lt;SPAN class="token string"&gt;"Lisa"&lt;/SPAN&gt;,
      &lt;SPAN class="token string"&gt;"product"&lt;/SPAN&gt;: "product1",
      &lt;SPAN class="token string"&gt;"unit"&lt;/SPAN&gt;: &lt;SPAN class="token string"&gt;"unit2"&lt;/SPAN&gt;,
    },&lt;BR /&gt;    {
      &lt;SPAN class="token string"&gt;"name"&lt;/SPAN&gt;: &lt;SPAN class="token string"&gt;"Lisa"&lt;/SPAN&gt;,
      &lt;SPAN class="token string"&gt;"product"&lt;/SPAN&gt;: "product1",
      &lt;SPAN class="token string"&gt;"unit"&lt;/SPAN&gt;: &lt;SPAN class="token string"&gt;"unit3"&lt;/SPAN&gt;,
    }&lt;BR /&gt;]
}&lt;/SPAN&gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;so currently what i'm doing is i have 3 tREST component in my job to call all the data, each component has different value in the HTTP Body as below;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tREST_1 :&amp;nbsp;"{\"name\":\"Lisa\",\"product\":\"P1\",\"unit\":\"unit1\"}"&lt;/P&gt; 
&lt;P&gt;tREST_2:&amp;nbsp;"{\"name\":\"Lisa\",\"product\":\"P1\",\"unit\":\"unit2\"}"&lt;/P&gt; 
&lt;P&gt;tREST_3:&amp;nbsp;"{\"name\":\"Lisa\",\"product\":\"P1\",\"unit\":\"unit3\"}"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZk3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140762iC9F5F106B1253240/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZk3.jpg" alt="0683p000009MZk3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;my question is, is it possible to loop the &lt;EM&gt;unit&lt;/EM&gt; instead of defining one by one unit in 3 different tREST component? is there any way that i can only use 1 tREST component but able to extract data for all units?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;please let me know if i need to explain in detail, thanks!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252426#M36065</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2024-11-16T02:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252427#M36066</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, you can use in tfixedflow have all three body and iterate by using tFlowtoIterate and use tjava component to print that body using a global variable and call the tRest component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tfixedflowInput&amp;gt;&amp;gt;Main&amp;gt;&amp;gt;tFlowtoIterate&amp;gt;&amp;gt;Iterate&amp;gt;&amp;gt;tjava&amp;gt;&amp;gt;on component Ok&amp;gt;&amp;gt;tRest&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252427#M36066</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-14T07:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252428#M36067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;, thank you for your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is my first time using tfixedflowinput, can you help to explain which mode should i select here and how do i define all three body in the component? Also, how do i call that in tREST HTTP Body section?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma5O.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143599i101AED906BE8E2DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma5O.jpg" alt="0683p000009Ma5O.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;really appreciate your help, thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 10:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252428#M36067</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-14T10:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252429#M36068</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, use Inline content and check the below link to more about this component.&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/1UUiC6QzuUN4eQE4niDz4w" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/1UUiC6QzuUN4eQE4niDz4w&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 10:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252429#M36068</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-14T10:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252430#M36069</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, your job design should be like below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZpX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137182i3511B4CF776558E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZpX.png" alt="0683p000009MZpX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 11:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252430#M36069</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-14T11:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252431#M36070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i'm not sure if i'm doing this correctly.&amp;nbsp; I managed to print the body in tJava component and link it to tREST as below;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma67.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131697iDD916E7E1B86F84E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma67.jpg" alt="0683p000009Ma67.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;is that how i should call the body in HTTP Body section in tREST? If yes, when i run the job i got a "204" error that means no content. I'm sure that the data is there as i have tried to define the body directly in tREST and the data is shown correctly.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please assist, thank you&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 02:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252431#M36070</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T02:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252432#M36071</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;, i've tried as below but got the same "204" error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;tJava component&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma1X.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129596i2B1D424107656190/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma1X.jpg" alt="0683p000009Ma1X.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;tRest component&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture1.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma6C.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153783i3A72D047B53BF19D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma6C.jpg" alt="0683p000009Ma6C.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 02:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252432#M36071</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T02:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252433#M36072</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, print the body in java and check that is that correct on or not which you were passing. bypassing same body from postman is it working?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 04:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252433#M36072</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T04:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252434#M36073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;,&amp;nbsp;I've print the body and it's showing correct as what i defined in tfixedflowinput. i tried to use the same body in tREST and postman and it's working&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 05:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252434#M36073</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T05:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252435#M36074</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;,then it could be a body that you need to pass in ", please check.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 05:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252435#M36074</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T05:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252436#M36075</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, if you have access to the API, you can check payload has passed from Talend in the backend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 05:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252436#M36075</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T05:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252437#M36076</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;it's not working..&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 05:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252437#M36076</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T05:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252438#M36077</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;, Great.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 05:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252438#M36077</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T05:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252439#M36078</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;sorry if you missed my message, i was saying it is not working. i think that the&amp;nbsp;((String)globalMap.get("body")) in my tREST fails to get the value from tJava. i have tried with "" and without still it's showing the same error&amp;nbsp;&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://community.qlik.com/" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 06:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252439#M36078</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T06:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252440#M36079</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, can you check in the backend to that API what json payload coming to API?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 06:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252440#M36079</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T06:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252441#M36080</link>
      <description>unfortunately i dont have access to the API</description>
      <pubDate>Fri, 15 May 2020 06:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252441#M36080</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T06:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252442#M36081</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;, is that api can be tested with any bodayone? and what was payload you set in tfixedflow input?show that payload.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 07:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252442#M36081</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T07:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252443#M36082</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, when you pass below body it was working right in trest component? if yes you need to check that in tfixedflow are you passing the same way or not if yes you are passing you need to check the api url is the same are you using.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;"{\"name\":\"Lisa\",\"product\":\"P1\",\"unit\":\"unit1\"}"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 07:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252443#M36082</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T07:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252444#M36083</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;okay it's working now. what i did was remove all the \ in the body and remove tJava component. tFlowToIterate is linked directly to tREST.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in tfixedflowinput i define it like this;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;{"name":"Lisa","product":"P1","unit":"unit1"} instead of "{\"name\":\"Lisa\",\"product\":\"P1\",\"unit\":\"unit1\"}"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, when you pass below body it was working right in trest component? if yes you need to check that in tfixedflow are you passing the same way or not if yes you are passing you need to check the api url is the same are you using.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN&gt;"{\"name\":\"Lisa\",\"product\":\"P1\",\"unit\":\"unit1\"}"&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Thank you for your help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 08:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252444#M36083</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-05-15T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: loop variables in tREST POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252445#M36084</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQSDAA4"&gt;@SR2210&lt;/A&gt;&amp;nbsp;, i have asked to use tjava to print the payload before passing to api to know that are you passing correctly or not.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 09:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-variables-in-tREST-POST-method/m-p/2252445#M36084</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-15T09:09:49Z</dc:date>
    </item>
  </channel>
</rss>

