<?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 Web AppBuilder CORS request failed in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-cors-request-failed/m-p/396454#M10533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a widget which reads the data from database table using Ajax dojo.xhrGet() function to retrieve data in JSON format from&amp;nbsp; a php script.&lt;/P&gt;&lt;P&gt;In Internet Explorer, once I run the widget, it gives me an warning dialog "The page is accessing information that is not under its control. This poses a security risk. Do you want to continue?" when I click Yes, the widget works fine, if no is clicked it fails.&lt;/P&gt;&lt;P&gt;In other browsers, I get the error, with the below message in console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://..../GlobalSearch.php?token=5440%20Fulton%20Industrial" rel="nofollow" target="_blank"&gt;http://..../GlobalSearch.php?token=5440%20Fulton%20Industrial&lt;/A&gt;&lt;SPAN&gt;. (Reason: CORS header 'Access-Control-Allow-Origin' missing).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how can I use http PROXY on node.js.&lt;/P&gt;&lt;P&gt;I am testing the widget on&lt;/P&gt;&lt;P&gt;&lt;A href="http://itehp8300-44279.co.fulton.ga.us:3344/webappviewer/?config=sample-configs/config-demo.json" title="http://itehp8300-44279.co.fulton.ga.us:3344/webappviewer/?config=sample-configs/config-demo.json"&gt;http://[computerName]:3344/webappviewer/?config=sample-configs/config-demo.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Qazi Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 14:53:05 GMT</pubDate>
    <dc:creator>QaziIqbal</dc:creator>
    <dc:date>2015-08-12T14:53:05Z</dc:date>
    <item>
      <title>Web AppBuilder CORS request failed</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-cors-request-failed/m-p/396454#M10533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a widget which reads the data from database table using Ajax dojo.xhrGet() function to retrieve data in JSON format from&amp;nbsp; a php script.&lt;/P&gt;&lt;P&gt;In Internet Explorer, once I run the widget, it gives me an warning dialog "The page is accessing information that is not under its control. This poses a security risk. Do you want to continue?" when I click Yes, the widget works fine, if no is clicked it fails.&lt;/P&gt;&lt;P&gt;In other browsers, I get the error, with the below message in console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://..../GlobalSearch.php?token=5440%20Fulton%20Industrial" rel="nofollow" target="_blank"&gt;http://..../GlobalSearch.php?token=5440%20Fulton%20Industrial&lt;/A&gt;&lt;SPAN&gt;. (Reason: CORS header 'Access-Control-Allow-Origin' missing).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how can I use http PROXY on node.js.&lt;/P&gt;&lt;P&gt;I am testing the widget on&lt;/P&gt;&lt;P&gt;&lt;A href="http://itehp8300-44279.co.fulton.ga.us:3344/webappviewer/?config=sample-configs/config-demo.json" title="http://itehp8300-44279.co.fulton.ga.us:3344/webappviewer/?config=sample-configs/config-demo.json"&gt;http://[computerName]:3344/webappviewer/?config=sample-configs/config-demo.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Qazi Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 14:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-cors-request-failed/m-p/396454#M10533</guid>
      <dc:creator>QaziIqbal</dc:creator>
      <dc:date>2015-08-12T14:53:05Z</dc:date>
    </item>
  </channel>
</rss>

