<?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: Handling CORS in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1172010#M77249</link>
    <description>&lt;P&gt;Try adding allowed origin&amp;nbsp;&lt;SPAN&gt;domain names to your server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/restricting-cross-domain-requests-to-arcgis-server.htm" target="_blank" rel="noopener"&gt;Restrict cross-domain requests to ArcGIS Server—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&lt;/P&gt;&lt;P&gt;additionally:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/cors/" target="_blank"&gt;CORS with the API | Overview | ArcGIS API for JavaScript 4.23 | ArcGIS Developer&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 15:23:44 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2022-05-09T15:23:44Z</dc:date>
    <item>
      <title>Handling CORS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1171911#M77247</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;we are trying to access a WMS layer (&lt;A href="https://geoservicos.pbh.gov.br/geoserver/wms?SERVICE=WMS&amp;amp;REQUEST=GetCapabilities" target="_blank" rel="noopener"&gt;https://geoservicos.pbh.gov.br/geoserver&lt;/A&gt;) from our ArcGIS API for JavaScript application, but we are getting the following error message:&lt;/P&gt;&lt;P&gt;Access to fetch at '&lt;/P&gt;&lt;P&gt;&lt;A href="https://geoservicos.pbh.gov.br/geoserver/wms?SERVICE=WMS&amp;amp;REQUEST=GetCapabilities'" target="_blank" rel="noopener"&gt;https://geoservicos.pbh.gov.br/geoserver/wms?SERVICE=WMS&amp;amp;REQUEST=GetCapabilities'&lt;/A&gt;&amp;nbsp;from origin 'null' has been blocked by CORS policy: No Access-Control-Allow-Origin header is present in the requested resource. If an opaque response serves your needs, set the request mode to ´no-cors` to fetch the resource with CORS disabled.&lt;/P&gt;&lt;P&gt;I am not sure how we can set the request mode to ´no-cors`.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would someone please help with that?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 12:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1171911#M77247</guid>
      <dc:creator>AdrianaPaese</dc:creator>
      <dc:date>2022-05-09T12:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Handling CORS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1172010#M77249</link>
      <description>&lt;P&gt;Try adding allowed origin&amp;nbsp;&lt;SPAN&gt;domain names to your server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/restricting-cross-domain-requests-to-arcgis-server.htm" target="_blank" rel="noopener"&gt;Restrict cross-domain requests to ArcGIS Server—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&lt;/P&gt;&lt;P&gt;additionally:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/cors/" target="_blank"&gt;CORS with the API | Overview | ArcGIS API for JavaScript 4.23 | ArcGIS Developer&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 15:23:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1172010#M77249</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2022-05-09T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Handling CORS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1172368#M77258</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have CORS issue too in my map. I have added proxy, but it did not help. I have little different issue, my error is multiple headers. It would be good if&amp;nbsp; anyone make detailed explanation how CORS could be handled.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 12:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handling-cors/m-p/1172368#M77258</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2022-05-10T12:16:29Z</dc:date>
    </item>
  </channel>
</rss>

