<?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: GeoProcessor Task Execute Get or Post? With proxy.ashx? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735954#M68172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I need to be able to execute geoprocessor tasks to the Rest API with more data than will fit in a GET request. It appears to me that the ArcServer Javascript API uses GET to send the requests to a GPServer no matter if I use proxy.ashx or not. Is this correct? To get around this I wrote a POST based caller with ExtJs that works well. But, now I need this to work on cross domain basis and I have not figured out how to do this with my ExtJs method. I would go back to the Javascript API Execute method if I could get it to use POST. Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks, Dave&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you use esri.request it will automatically switch between get and post as needed.&amp;nbsp; you could also explicitly use dojo.xhrGET or dojo.xhrPOST.&amp;nbsp; However, which execute method are you using that is trying to execute a GET with &amp;gt;2000 characters? that should not happen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 17:00:28 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2012-01-25T17:00:28Z</dc:date>
    <item>
      <title>GeoProcessor Task Execute Get or Post? With proxy.ashx?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735953#M68171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to be able to execute geoprocessor tasks to the Rest API with more data than will fit in a GET request. It appears to me that the ArcServer Javascript API uses GET to send the requests to a GPServer no matter if I use proxy.ashx or not. Is this correct? To get around this I wrote a POST based caller with ExtJs that works well. But, now I need this to work on cross domain basis and I have not figured out how to do this with my ExtJs method. I would go back to the Javascript API Execute method if I could get it to use POST. Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735953#M68171</guid>
      <dc:creator>DaveHighness</dc:creator>
      <dc:date>2012-01-25T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: GeoProcessor Task Execute Get or Post? With proxy.ashx?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735954#M68172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I need to be able to execute geoprocessor tasks to the Rest API with more data than will fit in a GET request. It appears to me that the ArcServer Javascript API uses GET to send the requests to a GPServer no matter if I use proxy.ashx or not. Is this correct? To get around this I wrote a POST based caller with ExtJs that works well. But, now I need this to work on cross domain basis and I have not figured out how to do this with my ExtJs method. I would go back to the Javascript API Execute method if I could get it to use POST. Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks, Dave&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you use esri.request it will automatically switch between get and post as needed.&amp;nbsp; you could also explicitly use dojo.xhrGET or dojo.xhrPOST.&amp;nbsp; However, which execute method are you using that is trying to execute a GET with &amp;gt;2000 characters? that should not happen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 17:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735954#M68172</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-01-25T17:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: GeoProcessor Task Execute Get or Post? With proxy.ashx?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735955#M68173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff, I'll test that out again. I could swear it didn't work when I tried it last but I may be mistaken. I made a mistake in my first post too because this is an asyncronous service so we are using submitJob rather than execute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the Javascript API isn't working I'll look into the Dojo method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 17:08:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-task-execute-get-or-post-with-proxy/m-p/735955#M68173</guid>
      <dc:creator>DaveHighness</dc:creator>
      <dc:date>2012-01-25T17:08:49Z</dc:date>
    </item>
  </channel>
</rss>

