<?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: how to send multiple request by using post method in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356270#M121840</link>
    <description>&lt;P&gt;welcome! &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 10:05:52 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2018-02-14T10:05:52Z</dc:date>
    <item>
      <title>how to send multiple request by using post method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356265#M121835</link>
      <description>&lt;P&gt;(Sorry about my bad english)&lt;/P&gt; 
&lt;P&gt;I want to send multiple http request by using post method&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm using tHttpRequest to call api like&amp;nbsp;picture&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-13 at 12.40.13.png" style="width: 653px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls5g.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150170i32361F9E4DCE2892/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls5g.png" alt="0683p000009Ls5g.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;using post method with parameters read from .txt file. Like&amp;nbsp;above&lt;/P&gt; 
&lt;PRE&gt;login_id=7777&amp;amp;system_cd=1&amp;amp;role_cd=1
login_id=9999999999999&amp;amp;system_cd=1&amp;amp;role_cd=1&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's works. But it&amp;nbsp;&lt;SPAN&gt;send two&amp;nbsp;request of first parameters line&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;login_id=7777&amp;amp;system_cd=1&amp;amp;role_cd=1&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;second parameters&amp;nbsp;&lt;SPAN&gt;line, could not send&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;login_id=9999999999999&amp;amp;system_cd=1&amp;amp;role_cd=1&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;How to send multiple request by using post method?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 05:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356265#M121835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-13T05:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to send multiple request by using post method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356266#M121836</link>
      <description>&lt;P&gt;You need reed You file with tFileInutDelimited&lt;/P&gt; 
&lt;P&gt;then use tFlowToIterate for save each row to variable&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for example:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-14 at 3.04.36 AM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsbQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153620iE001DC992403B455/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsbQ.png" alt="0683p000009LsbQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;-if Your file contain 1 row with full parameter for each iteration&lt;/P&gt; 
&lt;PRE&gt;login_id=7777&amp;amp;system_cd=1&amp;amp;role_cd=1
login_id=9999999999999&amp;amp;system_cd=1&amp;amp;role_cd=1&amp;nbsp;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;use delimiter | and schema with single column - parameters (String)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and change Your URI to :&lt;/P&gt; 
&lt;PRE&gt;"http://localhost/auth2/v1/api/lock"+((String)globalMap.get("row3.parameter"))&lt;/PRE&gt; 
&lt;P&gt;row3 - need change to real row number in Your Job&lt;/P&gt; 
&lt;P&gt;tJavaFlex - empty, just dummy connector (or debug information print)&lt;/P&gt; 
&lt;P&gt;Your tHTTP request - somewhere right from sample picture, connected by OnSubJobOk from tJavaFlex&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 14:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356266#M121836</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-13T14:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to send multiple request by using post method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356267#M121837</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&amp;nbsp;Thank you so much for supporting me&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But i want to use post request. I can't set URL like this&lt;/P&gt; 
&lt;PRE&gt;"http://localhost/auth2/v1/api/lock"+((String)globalMap.get("row3.parameter"))&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;For&amp;nbsp;POST&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;request, you must specify a file that contains the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Post parameters&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(&lt;A href="https://www.talendbyexample.com/talend-thttprequest-component.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://www.talendbyexample.com/talend-thttprequest-component.html&lt;/A&gt;)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have answer&amp;nbsp;in stackoverflow post&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/48764121/how-to-send-multiple-request-by-using-post-method/48764926#48764926" target="_self" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/48764121/how-to-send-multiple-request-by-using-post-method/48764926#48764926&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is a solution&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-14 at 16.24.36.png" style="width: 892px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsHy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130008iC1FB5F24ED7F28F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsHy.png" alt="0683p000009LsHy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 07:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356267#M121837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-14T07:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to send multiple request by using post method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356268#M121838</link>
      <description>&lt;P&gt;same idea, and&amp;nbsp;why not use tRESTClient? it support POST&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 08:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356268#M121838</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-14T08:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to send multiple request by using post method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356269#M121839</link>
      <description>&lt;P&gt;thank you so much&lt;/P&gt; 
&lt;P&gt;It's works perfectly&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-14 at 19.02.33.png" style="width: 804px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsHP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152981i8440B0383BD23607/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsHP.png" alt="0683p000009LsHP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 10:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356269#M121839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-14T10:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to send multiple request by using post method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356270#M121840</link>
      <description>&lt;P&gt;welcome! &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 10:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-send-multiple-request-by-using-post-method/m-p/2356270#M121840</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-14T10:05:52Z</dc:date>
    </item>
  </channel>
</rss>

