<?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 How to upload files (xlsx,txt,csv) using REST components for Zapi API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-upload-files-xlsx-txt-csv-using-REST-components-for-Zapi/m-p/2299516#M71856</link>
    <description>&lt;P&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;Experts,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;I need to upload files using Talend tREST component to Zephyr/JIRA. I do not know the format/syntax to give in httpbody section like the curl's ( -F "file=@myfile.txt" )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;PRE&gt;URL&lt;BR /&gt; ? &amp;nbsp;&lt;BR /&gt; entityId=4783&amp;amp;entityType=TestStepResult&lt;BR /&gt;&lt;BR /&gt;BODY&lt;BR /&gt; D:/TestResults/QPJ-707_Count_Mismatch.xls&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;I gave the full path and file name in body section. When I run, I am getting ERROR_CODE = 500.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;Please help on how to give filepath/filename in the body section in tREST or any other REST components.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;I do not get enough information in Zephyr/Zapi API website&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;Thanks,&lt;BR /&gt;Prakash.R&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Jul 2016 05:25:30 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-07-03T05:25:30Z</dc:date>
    <item>
      <title>How to upload files (xlsx,txt,csv) using REST components for Zapi API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-upload-files-xlsx-txt-csv-using-REST-components-for-Zapi/m-p/2299516#M71856</link>
      <description>&lt;P&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;Experts,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;I need to upload files using Talend tREST component to Zephyr/JIRA. I do not know the format/syntax to give in httpbody section like the curl's ( -F "file=@myfile.txt" )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;PRE&gt;URL&lt;BR /&gt; ? &amp;nbsp;&lt;BR /&gt; entityId=4783&amp;amp;entityType=TestStepResult&lt;BR /&gt;&lt;BR /&gt;BODY&lt;BR /&gt; D:/TestResults/QPJ-707_Count_Mismatch.xls&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;I gave the full path and file name in body section. When I run, I am getting ERROR_CODE = 500.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;Please help on how to give filepath/filename in the body section in tREST or any other REST components.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;I do not get enough information in Zephyr/Zapi API website&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#242729"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial,"&gt;Thanks,&lt;BR /&gt;Prakash.R&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 05:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-upload-files-xlsx-txt-csv-using-REST-components-for-Zapi/m-p/2299516#M71856</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-07-03T05:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload files (xlsx,txt,csv) using REST components for Zapi API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-upload-files-xlsx-txt-csv-using-REST-components-for-Zapi/m-p/2299517#M71857</link>
      <description>use tFileFetch with POST and the advanced setting Upload File</description>
      <pubDate>Mon, 04 Jul 2016 08:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-upload-files-xlsx-txt-csv-using-REST-components-for-Zapi/m-p/2299517#M71857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T08:22:58Z</dc:date>
    </item>
  </channel>
</rss>

