<?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: HTTPS CURL POST command into Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265254#M44847</link>
    <description>The command is running successfully from Linux command line. I havnt run it in Windows.</description>
    <pubDate>Thu, 21 Feb 2019 07:16:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-21T07:16:37Z</dc:date>
    <item>
      <title>HTTPS CURL POST command into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265252#M44845</link>
      <description>&lt;P&gt;Hello. I have a working CURL command which I'm struggling to replicate in Talend (6.5.1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The working command is :&amp;nbsp; curl -i -X POST -u username:'password' --data-binary&lt;BR /&gt;'@/usr/local/workfiles/import.csv' -H Content-Type:text/plain '&lt;A href="https://xxxxx.net/xxxxxx" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://xxxxx.net/xxxxxx&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I've tried a tsystem which results in a 401 error (Unauthorized)&lt;/P&gt;&lt;P&gt;- I've also tried a thttprequest which results in a: "message" : "No OpenID authorization header was supplied", &amp;nbsp; "http_status_code" : 401"&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Or a 500 if I mess with the username and password.&lt;/P&gt;&lt;P&gt;- I've also tried a tFleFetch which also results in a 401 (unauthorized).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unsure if I should be passing the username and password as a header (e.g Authorization = username:'password') or as separate headers (authMethod = Basic, authUsername = username, authPassword = 'Password').&amp;nbsp;&amp;nbsp; Should the credentials be in the "Need Authentication" box in the tFileFetch and thttprequest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone possibly help with this?&amp;nbsp; Screenshots would also be fantastic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 16:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265252#M44845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-14T16:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS CURL POST command into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265253#M44846</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Are your CURL post command &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3e3e3e; font-family: 'PT Sans','Helvetica',Helvetica,Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;running&amp;nbsp; fine in command prompt?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3e3e3e; font-family: 'PT Sans','Helvetica',Helvetica,Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3e3e3e; font-family: 'PT Sans','Helvetica',Helvetica,Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 03:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265253#M44846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T03:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS CURL POST command into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265254#M44847</link>
      <description>The command is running successfully from Linux command line. I havnt run it in Windows.</description>
      <pubDate>Thu, 21 Feb 2019 07:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265254#M44847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T07:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS CURL POST command into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265255#M44848</link>
      <description>&lt;P&gt;I&amp;nbsp;finally complete this job using a tRest component.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I failed using a&amp;nbsp;tFileFetch and always received a 400 error.&amp;nbsp; I managed with a tHTTPRequest in the same way as the tRest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think my problems were&amp;nbsp;because I was not reading the file as a byte array.&amp;nbsp; Still not sure what this means but read somewhere that it was required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also was unsure about converting the username and password to bas64 string.&amp;nbsp; It was required in this case.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv3w"&gt;Tal1.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Luxe"&gt;tal2.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Luyd"&gt;tal3.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LujB"&gt;tal4.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv5I"&gt;tal5.JPG&lt;/A&gt;</description>
      <pubDate>Fri, 22 Feb 2019 15:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HTTPS-CURL-POST-command-into-Talend/m-p/2265255#M44848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T15:43:00Z</dc:date>
    </item>
  </channel>
</rss>

