<?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: tHTTPRequest and parameters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291247#M64451</link>
    <description>Have tried it? You can upload with tFileFetch as well. Look for the upload file option.</description>
    <pubDate>Tue, 27 Feb 2018 09:39:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-27T09:39:23Z</dc:date>
    <item>
      <title>tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291242#M64446</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;I have to upload a csv file using HTTpRequest component.&lt;/P&gt; 
&lt;P&gt;The API has the following specification:&lt;/P&gt; 
&lt;P&gt;Body Params&lt;/P&gt; 
&lt;DIV class="tr"&gt; 
 &lt;DIV class="td param"&gt; 
  &lt;STRONG&gt;surveyId&lt;SPAN class="colon"&gt;:&lt;/SPAN&gt;&lt;/STRONG&gt; 
  &lt;DIV class="required"&gt;
    required 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
 &lt;DIV class="td"&gt; 
  &lt;STRONG&gt;string&lt;/STRONG&gt; 
  &lt;DIV class="ng-isolate-scope"&gt; 
   &lt;P&gt;ID of the survey to import responses into&lt;/P&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt; 
&lt;DIV class="tr"&gt; 
 &lt;DIV class="td param"&gt; 
  &lt;STRONG&gt;file&lt;SPAN class="colon"&gt;:&lt;/SPAN&gt;&lt;/STRONG&gt; 
  &lt;DIV class="required"&gt;
    required 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
 &lt;DIV class="td"&gt; 
  &lt;STRONG&gt;file&lt;/STRONG&gt; 
  &lt;DIV class="ng-isolate-scope"&gt; 
   &lt;P&gt;A CSV file containing responses for import.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.qualtrics.com/support/survey-platform/data-and-analysis-module/data/import-responses/" target="_blank" rel="nofollow noopener noreferrer"&gt;[?]&lt;/A&gt;&lt;/P&gt; 
   &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
   &lt;P&gt;I can mention the location of the csv in the "Post parameters from file" option. My csv contains headers and values.&lt;/P&gt; 
   &lt;P&gt;How do I pass the survey ID ? since it is not in the query parameter but in the Body Parameter?&lt;/P&gt; 
   &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
   &lt;P&gt;Also, I tried using Postman. It shows success message, but I dont see the csv values in the API.&lt;/P&gt; 
   &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
   &lt;P&gt;Please help me out&lt;/P&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291242#M64446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291243#M64447</link>
      <description>&lt;P&gt;Try using the tFileFetch for this. It is badly named since it is not just for fetching files. This may require a bit playing about before it works. Take a look here for information on this component:&amp;nbsp;&lt;A href="https://help.talend.com/reader/MjIZDoU6r0vLbCpGh5GAcg/F4QsQrja9IQEa_kKqmBfNQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/MjIZDoU6r0vLbCpGh5GAcg/F4QsQrja9IQEa_kKqmBfNQ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291243#M64447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291244#M64448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks. I need not fetch the file from a URI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My situation is to upload a csv file to a site and mention the body parameters.&lt;/P&gt;
&lt;P&gt;If I use tFilefetch, where do I mention the URI of my destination and what do I mention in the URI in the basic section.&lt;/P&gt;
&lt;P&gt;Could you please elaborate&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 07:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291244#M64448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T07:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291245#M64449</link>
      <description>&lt;P&gt;Read the instructions and you will see that there is an "Upload file" option on the Advanced Settings page. You should be able to supply your parameters in the parameters section. Unless I have access to the API you are using, I cannot help anymore than this. You will need to experiment.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 09:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291245#M64449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291246#M64450</link>
      <description>&lt;P&gt;I have mentioned the required&amp;nbsp;information based on the component details. Since tFileFetch is used to download a file and then upload it, I had confusion if it works when there is no need to download.Currently, i mentioned the endpoint in the URI and destination details as blank.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.qualtrics.com/docs/import-responses" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.qualtrics.com/docs/import-responses&lt;/A&gt; is the api that i am referring to.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 09:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291246#M64450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291247#M64451</link>
      <description>Have tried it? You can upload with tFileFetch as well. Look for the upload file option.</description>
      <pubDate>Tue, 27 Feb 2018 09:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291247#M64451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T09:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291248#M64452</link>
      <description>&lt;P&gt;Yes. I tried it. Also, which do you suggest:&lt;/P&gt;&lt;P&gt;tSystem component which runs the curl command as mentioned in the API specification or tFileFetch ?&lt;/P&gt;&lt;P&gt;Is it ok to just upload a file without mentioning the download option in tFileFetch?&lt;/P&gt;&lt;P&gt;Attached is the screenshot for reference. Is my configuration correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsLr"&gt;attachments.zip&lt;/A&gt;</description>
      <pubDate>Tue, 27 Feb 2018 09:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291248#M64452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291249#M64453</link>
      <description>&lt;P&gt;That looks OK. Are you getting an error message?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 10:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291249#M64453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T10:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291250#M64454</link>
      <description>&lt;P&gt;This is the error that I get when i try to upload a csv&lt;/P&gt;&lt;P&gt;There isContinue_tFileFetch_1 an exception on: &lt;A href="https://au1.qualtrics.com/API/v3/responseimports" target="_blank" rel="nofollow noopener noreferrer"&gt;https://au1.qualtrics.com/API/v3/responseimports&lt;/A&gt;&lt;BR /&gt;java.lang.Exception: Method failed: HTTP/1.1 400 Bad Request&lt;BR /&gt;at vocalcomintegration.csv_0_1.csv.tFileInputDelimited_1Process(csv.java:757)&lt;BR /&gt;at vocalcomintegration.csv_0_1.csv.runJobInTOS(csv.java:1138)&lt;BR /&gt;at vocalcomintegration.csv_0_1.csv.main(csv.java:987)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 11:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291250#M64454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T11:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291251#M64455</link>
      <description>&lt;P&gt;I'm afraid I think this is a learning curve you are going to have to go through. Using web services with ANY tool requires a fair amount of trial and error....with a lot of time spent filtering through errors, making slight changes and seeing if the errors change. My goto component for uploading files is the tFileFetch. However, if that doesn't work (and I can't get the error message to change), I will go to the tRESTClient or even the tREST. But if you do it via the tREST you will need to convert the file into a bytearray yourself and handle all of the complexities.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If I could have access to the web service you are using, I could probably get it sorted pretty swiftly, but doing it via trial and error via proxy is really difficult.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 12:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291251#M64455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T12:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291252#M64456</link>
      <description>&lt;P&gt;Do you happen to have an example job or a screenshot explaining how to change it to bitarray?&lt;/P&gt;
&lt;P&gt;This seems to be a similar example as mine and the reason which I find this is not working is because its not able to send the body of the request. Hence 400 error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 23:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291252#M64456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T23:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291253#M64457</link>
      <description>&lt;P&gt;I converted a file to a byte array by reading it using the tFileInputRaw and specifying byte array as the the read type. It will be returned as an Object, but you would just need to cast to a bytearray using a tConvertType.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Having said that, I am not entirely sure that would suit you. Did you try the link I sent you? That should work for you as you have total control over the code. Alternatively, did you try switching the "use cache to save&amp;nbsp;the resource" on? Did that get rid of the defaultfilename.txt issue?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 23:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291253#M64457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T23:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291254#M64458</link>
      <description>&lt;P&gt;I did try the code snippet it throws 500 error while retrieving the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Response{protocol=http/1.1, code=500, message=Internal Server Error.&lt;/P&gt;
&lt;P&gt;A basic question- can https request be made over http client?&lt;/P&gt;
&lt;P&gt;can I send a file with content type -&amp;nbsp;&lt;SPAN&gt;application/x-www-form-urlencoded?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because thats exactly what i am using in postman and its succeeding whereas in the code its not.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 00:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291254#M64458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T00:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291255#M64459</link>
      <description>&lt;P&gt;A 500 error is an internal server error. It is unlikely to be caused by how you called it....unless the server's error messages are pretty poor. You need to pay attention to the errors you get.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you have it working using one tool you have to copy exactly how you did it with that tool in Talend. You have several components to work with. You have the tREST, tRestClient, tFileFetch or Java code to work with. You need to find a route that will allow you to exactly copy the way in which you have got it working elsewhere. By the way, you can use any content-type. Not all parameter options are offered to developers using drop downs. Sometimes you need to specify them using the parameter/header tables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 00:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291255#M64459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T00:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291256#M64460</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried tFileFetch and it seemed to error out because my API has specification to pass the Id and payload in body. But in tFileFetch I was not able to send ID as body.&lt;/P&gt;&lt;P&gt;What worked for me is tSystem. I used curl command and it worked file. I was able to upload the file.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 05:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291256#M64460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T05:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291257#M64461</link>
      <description>&lt;P&gt;Would you happen to share how were you able to accomplish this?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 14:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291257#M64461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T14:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: tHTTPRequest and parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291258#M64462</link>
      <description>&lt;P&gt;I used Curl command in tsystem to upload the file.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 10:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHTTPRequest-and-parameters/m-p/2291258#M64462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T10:06:36Z</dc:date>
    </item>
  </channel>
</rss>

