<?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 do I write a proxy page for an HTML5 application? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528657#M49293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the proxy needs to run in the server context it is easier to just use the .NET one if you already have a .NET web app. If you want a purely JS one you could write one using node and run that on your server though there isnt a node proxy provided by Esri as yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2014 17:41:53 GMT</pubDate>
    <dc:creator>DaveTimmins</dc:creator>
    <dc:date>2014-11-21T17:41:53Z</dc:date>
    <item>
      <title>How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528653#M49289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to add a proxy for my app for printing and feature layers. I went to this page on how to include a proxy page:&lt;A href="https://developers.arcgis.com/javascript/jshelp/ags_proxy.html" title="https://developers.arcgis.com/javascript/jshelp/ags_proxy.html"&gt;Using the proxy | Guide | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; , but I need to know how to write one. How would I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 17:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528653#M49289</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2014-11-21T17:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528654#M49290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The proxy pages are provided in a handful of languages.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/resource-proxy" title="https://github.com/Esri/resource-proxy"&gt;Esri/resource-proxy · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If you want to know how to write your own for a special purpose, you could look over the source code for those projects.&lt;/P&gt;&lt;P&gt;This is an appendix in the book Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 17:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528654#M49290</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-11-21T17:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528655#M49291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using pure HTML5, no DotNet, Java, or PHP. I do have a web.config file and could technically use the DotNet one, but is there information for just pure HTML5?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 17:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528655#M49291</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2014-11-21T17:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528656#M49292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't. A proxy has to handled server-side. A browser may support CORS and you can get away without one in those cases. You could even check to see if your request is greater than 2000 characters and send the request via POST instead of GET, but if the browser doesn't support CORS, you can't get around it on the client side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 17:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528656#M49292</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-11-21T17:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528657#M49293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the proxy needs to run in the server context it is easier to just use the .NET one if you already have a .NET web app. If you want a purely JS one you could write one using node and run that on your server though there isnt a node proxy provided by Esri as yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 17:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528657#M49293</guid>
      <dc:creator>DaveTimmins</dc:creator>
      <dc:date>2014-11-21T17:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528658#M49294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Funny you mention node, it's been coming up in the resource proxy for a node version.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/resource-proxy/issues/63" title="https://github.com/Esri/resource-proxy/issues/63"&gt;node.js proxy page · Issue #63 · Esri/resource-proxy · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is apparently a proxy in the geotrigger-js repo, but I've never used it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/geotrigger-js/blob/master/proxy/index.js" title="https://github.com/Esri/geotrigger-js/blob/master/proxy/index.js"&gt;geotrigger-js/index.js at master · Esri/geotrigger-js · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one here, but it doesn't do tokens or anything other than proxy the request&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/agsnode-dev/blob/master/app.js#L69-L103" title="https://github.com/odoe/agsnode-dev/blob/master/app.js#L69-L103"&gt;agsnode-dev/app.js at master · odoe/agsnode-dev · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 17:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528658#M49294</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-11-21T17:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528659#M49295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I will use my .NET proxy again. That helped. Thanks. I had hoped to get completely away from .NET, but since I already have proxy pages written, no point in making work for myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 19:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528659#M49295</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2014-11-21T19:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a proxy page for an HTML5 application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528660#M49296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe Esri will eventually create one on Github.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 19:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-write-a-proxy-page-for-an-html5/m-p/528660#M49296</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2014-11-21T19:26:43Z</dc:date>
    </item>
  </channel>
</rss>

