<?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: How to handle CORS in javascript ?? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-handle-CORS-in-javascript/m-p/132582#M1870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;For CORS to work there need to be web server support for it. Looks like you are trying to do this with Qlik Sense desktop and since Qlik Sense desktop does not support CORS that won’t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg &lt;/P&gt;&lt;P&gt; &lt;A href="http://extendingqlik.upper88.com/" title="http://extendingqlik.upper88.com/"&gt;Extending Qlik – Use Qlik in your own apps and sites&lt;/A&gt;&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2018 20:09:44 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2018-10-24T20:09:44Z</dc:date>
    <item>
      <title>How to handle CORS in javascript ??</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-handle-CORS-in-javascript/m-p/132581#M1869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all extension developer ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me for this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing one extension in which i need to make one GET /POST call with url =&lt;A href="http://localhost:4848/Exports/05207f84-7d12-43e0-9392-56a9e5ca2c3b/f170f1c3-c40e-4c2d-afd9-8b10f56da9f1.xlsx" title="http://localhost:4848/Exports/05207f84-7d12-43e0-9392-56a9e5ca2c3b/f170f1c3-c40e-4c2d-afd9-8b10f56da9f1.xlsx"&gt;http://localhost:4848/Exports/05207f84-7d12-43e0-9392-56a9e5ca2c3b/f170f1c3-c40e-4c2d-afd9-8b10f56da9f1.xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is dynamically created url &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I try this browser throws following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Failed to load &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:4848/Exports/05207f84-7d12-43e0-9392-56a9e5ca2c3b/f170f1c3-c40e-4c2d-afd9-8b10f56da9f1.xlsx:" rel="nofollow" target="_blank"&gt;http://localhost:4848/Exports/05207f84-7d12-43e0-9392-56a9e5ca2c3b/f170f1c3-c40e-4c2d-afd9-8b10f56da9f1.xlsx:&lt;/A&gt;&lt;SPAN&gt; Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There fore I need to make CORS in this case can you tell me how to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-handle-CORS-in-javascript/m-p/132581#M1869</guid>
      <dc:creator>arvind1494</dc:creator>
      <dc:date>2018-10-24T10:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle CORS in javascript ??</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-handle-CORS-in-javascript/m-p/132582#M1870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;For CORS to work there need to be web server support for it. Looks like you are trying to do this with Qlik Sense desktop and since Qlik Sense desktop does not support CORS that won’t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg &lt;/P&gt;&lt;P&gt; &lt;A href="http://extendingqlik.upper88.com/" title="http://extendingqlik.upper88.com/"&gt;Extending Qlik – Use Qlik in your own apps and sites&lt;/A&gt;&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 20:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-handle-CORS-in-javascript/m-p/132582#M1870</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-10-24T20:09:44Z</dc:date>
    </item>
  </channel>
</rss>

