<?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: CORS Request(POST) - Custom Header doesn't work in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269709#M47857</link>
    <description>I have the same issue and I am not using tRESTRequest. The client application makes a preflight request and the response is missing my custom headers. I am using Talend ESB Open Source 6.1.1. Is there a solution for this?</description>
    <pubDate>Thu, 05 May 2016 04:39:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-05T04:39:37Z</dc:date>
    <item>
      <title>CORS Request(POST) - Custom Header doesn't work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269707#M47855</link>
      <description>Hi, 
&lt;BR /&gt;I made a REST API (POST) for create a new ressource in the Database, and it works when I test it with Firefox RestClient.
&lt;BR /&gt;But when I try to call the API from a web application, I got a CORS error. I tried to set custom headers in the tRestresponse's advanced setting, and got the pre-flight response (OPTIONS) which is 200 OK, but looking at its header, I didn't found what I set in the component tRestresponse. It seems that what I set is not valide.
&lt;BR /&gt;So the question is: how to enable CORS for API (POST)?
&lt;BR /&gt;Thanks in advances!</description>
      <pubDate>Thu, 10 Sep 2015 12:43:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269707#M47855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-10T12:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: CORS Request(POST) - Custom Header doesn't work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269708#M47856</link>
      <description>Hi,
&lt;BR /&gt;Are you using tRESTRequest? Could you please take a look at a jira issue:
&lt;A href="https://jira.talendforge.org/browse/TESB-10065" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TESB-10065&lt;/A&gt; to see if it is what you are looking for?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 16 Sep 2015 10:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269708#M47856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-16T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: CORS Request(POST) - Custom Header doesn't work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269709#M47857</link>
      <description>I have the same issue and I am not using tRESTRequest. The client application makes a preflight request and the response is missing my custom headers. I am using Talend ESB Open Source 6.1.1. Is there a solution for this?</description>
      <pubDate>Thu, 05 May 2016 04:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269709#M47857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-05T04:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: CORS Request(POST) - Custom Header doesn't work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269710#M47858</link>
      <description>I ended up figuring out how to fix the issue. In tRESTRequest you have to create a separate entry with the same URL that uses the HTTP Verb OPTIONS. Then configure your headers to set the required CORS headers.&lt;BR /&gt;This is only required if your client application creates preflight requests.</description>
      <pubDate>Thu, 05 May 2016 15:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CORS-Request-POST-Custom-Header-doesn-t-work/m-p/2269710#M47858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-05T15:26:42Z</dc:date>
    </item>
  </channel>
</rss>

