<?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 use tRestClient that needs a file as Input? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tRestClient-that-needs-a-file-as-Input/m-p/2312192#M83163</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I found some questions and answers regarding tRestClient, but the given solutions didn't help. I want to call an Rest service that expects a file as Input and beside autentication (username, password) one additional query parameter. Calling from Postman was successful. I used the tFileInputXML-component and wants to combine it with the tRestClient. In most "variations" it results in an unsupported media type (415) error.&lt;/P&gt;&lt;P&gt;In tFileInputXML, I defined the root in the loop XPathQuery and in the mapping all needed columns from the file. I also tried (found in one of the answers here) to define in the mapping just the body with XPath= ".", but the result was the same.&lt;/P&gt;&lt;P&gt;Any idea for a solution?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:54:59 GMT</pubDate>
    <dc:creator>microstratege</dc:creator>
    <dc:date>2024-11-16T01:54:59Z</dc:date>
    <item>
      <title>How to use tRestClient that needs a file as Input?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-tRestClient-that-needs-a-file-as-Input/m-p/2312192#M83163</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I found some questions and answers regarding tRestClient, but the given solutions didn't help. I want to call an Rest service that expects a file as Input and beside autentication (username, password) one additional query parameter. Calling from Postman was successful. I used the tFileInputXML-component and wants to combine it with the tRestClient. In most "variations" it results in an unsupported media type (415) error.&lt;/P&gt;&lt;P&gt;In tFileInputXML, I defined the root in the loop XPathQuery and in the mapping all needed columns from the file. I also tried (found in one of the answers here) to define in the mapping just the body with XPath= ".", but the result was the same.&lt;/P&gt;&lt;P&gt;Any idea for a solution?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-tRestClient-that-needs-a-file-as-Input/m-p/2312192#M83163</guid>
      <dc:creator>microstratege</dc:creator>
      <dc:date>2024-11-16T01:54:59Z</dc:date>
    </item>
  </channel>
</rss>

