<?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 build a REST service with POST method that accepts text/csv instead of JSOn or XML? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-build-a-REST-service-with-POST-method-that-accepts-text/m-p/2281807#M56223</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm completely new to TALEND and I'm using Talend Open Studio for ESB to try to build a REST service with a POST method to receive simple data in CSV format. I have been playing around with the tRESTREQUEST component and I saw that I had to define an output flow named body with type document, but I can't find a way to configure content-type to text/csv and I keep getting a&amp;nbsp;&lt;SPAN class="response-meta-status-code"&gt;415&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="response-meta-status-code-desc"&gt;Unsupported Media Type error message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Maybe I should use a different component?&lt;/P&gt;
&lt;P&gt;Any help will be appreciated.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:00:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T06:00:13Z</dc:date>
    <item>
      <title>How to build a REST service with POST method that accepts text/csv instead of JSOn or XML?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-build-a-REST-service-with-POST-method-that-accepts-text/m-p/2281807#M56223</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm completely new to TALEND and I'm using Talend Open Studio for ESB to try to build a REST service with a POST method to receive simple data in CSV format. I have been playing around with the tRESTREQUEST component and I saw that I had to define an output flow named body with type document, but I can't find a way to configure content-type to text/csv and I keep getting a&amp;nbsp;&lt;SPAN class="response-meta-status-code"&gt;415&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="response-meta-status-code-desc"&gt;Unsupported Media Type error message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Maybe I should use a different component?&lt;/P&gt;
&lt;P&gt;Any help will be appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-build-a-REST-service-with-POST-method-that-accepts-text/m-p/2281807#M56223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a REST service with POST method that accepts text/csv instead of JSOn or XML?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-build-a-REST-service-with-POST-method-that-accepts-text/m-p/2281808#M56224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Rest service usually expect JSON or XML payload, what you have here instead is the query string in the payload.&lt;/P&gt; 
&lt;P&gt;You could try this solution:route.&lt;/P&gt; 
&lt;P&gt;cHttp (as server) can perfectly handle incoming data and transfer it to cTalendJob.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 09:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-build-a-REST-service-with-POST-method-that-accepts-text/m-p/2281808#M56224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-26T09:19:26Z</dc:date>
    </item>
  </channel>
</rss>

