<?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 unable to load image via localhost in .NET and the Esri JavaScript API Questions</title>
    <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/unable-to-load-image-via-localhost/m-p/820566#M50</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; background-color: #ffffff; border: 0px; padding: 0px 16px 0px 0px;"&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;I'm trying to redirect my ESRI-request from my frontend via my backend to the ESRI-endpoint (using it like a proxy).&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;If I do so, i get the following Error:&amp;nbsp;&lt;A class="link-titled" href="https://i.stack.imgur.com/65g1I.png" title="https://i.stack.imgur.com/65g1I.png"&gt;Unable to load Image&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px var(--s-prose-spacing) 0px;"&gt;I tried changing the url-endpoint direct to the arcgis api, instead of redirecting via localhost. This way it works, but that's not what i wanted to do. Even tho the URL of the image looks fine, but the one from arcgis is perfect and the other one (with exact same url except localhost instead of arcgis-url) does not work.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px var(--s-prose-spacing) 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px;"&gt;Does anyone have an idea how to fix this? Request Headers looking fine so far...&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2020 15:54:02 GMT</pubDate>
    <dc:creator>leTiimmy</dc:creator>
    <dc:date>2020-10-28T15:54:02Z</dc:date>
    <item>
      <title>unable to load image via localhost</title>
      <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/unable-to-load-image-via-localhost/m-p/820566#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; background-color: #ffffff; border: 0px; padding: 0px 16px 0px 0px;"&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;I'm trying to redirect my ESRI-request from my frontend via my backend to the ESRI-endpoint (using it like a proxy).&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;If I do so, i get the following Error:&amp;nbsp;&lt;A class="link-titled" href="https://i.stack.imgur.com/65g1I.png" title="https://i.stack.imgur.com/65g1I.png"&gt;Unable to load Image&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-post-id="64539474" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px var(--s-prose-spacing) 0px;"&gt;I tried changing the url-endpoint direct to the arcgis api, instead of redirecting via localhost. This way it works, but that's not what i wanted to do. Even tho the URL of the image looks fine, but the one from arcgis is perfect and the other one (with exact same url except localhost instead of arcgis-url) does not work.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px var(--s-prose-spacing) 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px;"&gt;Does anyone have an idea how to fix this? Request Headers looking fine so far...&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2020 15:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/unable-to-load-image-via-localhost/m-p/820566#M50</guid>
      <dc:creator>leTiimmy</dc:creator>
      <dc:date>2020-10-28T15:54:02Z</dc:date>
    </item>
  </channel>
</rss>

