<?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: Code Samples for REST APIs in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339297#M1660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Dan. &amp;nbsp;But I am looking specifically for the URL for FindExistingLocations. &amp;nbsp;I am aware of the ESRI Github repo and did not find what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I need the server name to build up the URL request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;curl&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8; border: 0px; font-size: 13px;"&gt;http:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #006a00; background-color: #f8f8f8; border: 0px; font-size: 13px;"&gt;//&lt;STRONG&gt;&amp;lt;analysis url&amp;gt;&lt;/STRONG&gt;/FindExistingLocations/submitJob&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample I saw for Swift makes references to sampleserver3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #d12f1b; font-size: 11px;"&gt;&lt;SPAN style="color: #bb2ca2;"&gt;let&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; kCFTask = &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fsampleserver3.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FNetwork%2FUSA%2FNAServer%2FClosest%2520Facility" rel="nofollow" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2016 21:45:22 GMT</pubDate>
    <dc:creator>RobLabs</dc:creator>
    <dc:date>2016-08-17T21:45:22Z</dc:date>
    <item>
      <title>Code Samples for REST APIs</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339295#M1658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use the Spatial Analysis Service "Find Existing Locations" in both an iOS and Android app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if there are any working code samples that I can learn how to use Find Existing Locations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am familiar with REST, but I'm looking for either&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A working iOS or Android example, or&lt;/LI&gt;&lt;LI&gt;a curl example, but I don't know how to fill in the server name&amp;nbsp;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;curl&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8; font-size: 13px;"&gt;http:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #006a00; background-color: #f8f8f8; font-size: 13px;"&gt;//&amp;lt;analysis url&amp;gt;/FindExistingLocations/submitJob&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REST API that I want to use.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/analysis/api-reference/find-existing-locations.htm" title="https://developers.arcgis.com/rest/analysis/api-reference/find-existing-locations.htm"&gt;Find Existing Locations—ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339295#M1658</guid>
      <dc:creator>RobLabs</dc:creator>
      <dc:date>2016-08-17T15:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Code Samples for REST APIs</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339296#M1659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;places to look for code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://codesharing.arcgis.com/#search%3D%7Csoftware%3DAll%20Esri%20Software%7Clanguage%3DAll%20Languages%7CresultType%3D(type%3A%22code%20samples%22%20OR%20type%3A%22add-ins%22%20OR%20type%3A%22geoprocessing%20samples%22)%7CitemsPerPage%3D10%7Cpage%3D1" title="http://codesharing.arcgis.com/#search%3D%7Csoftware%3DAll%20Esri%20Software%7Clanguage%3DAll%20Languages%7CresultType%3D(type%3A%22code%20samples%22%20OR%20type%3A%22add-ins%22%20OR%20type%3A%22geoprocessing%20samples%22)%7CitemsPerPage%3D10%7Cpage%3D1"&gt;ArcGIS Code Sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/#Python" title="https://esri.github.io/#Python"&gt;Esri GitHub | Open Source and Example Projects from the Esri Developer Platform&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339296#M1659</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-08-17T21:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Code Samples for REST APIs</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339297#M1660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Dan. &amp;nbsp;But I am looking specifically for the URL for FindExistingLocations. &amp;nbsp;I am aware of the ESRI Github repo and did not find what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I need the server name to build up the URL request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;curl&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8; border: 0px; font-size: 13px;"&gt;http:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #006a00; background-color: #f8f8f8; border: 0px; font-size: 13px;"&gt;//&lt;STRONG&gt;&amp;lt;analysis url&amp;gt;&lt;/STRONG&gt;/FindExistingLocations/submitJob&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample I saw for Swift makes references to sampleserver3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #d12f1b; font-size: 11px;"&gt;&lt;SPAN style="color: #bb2ca2;"&gt;let&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; kCFTask = &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fsampleserver3.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FNetwork%2FUSA%2FNAServer%2FClosest%2520Facility" rel="nofollow" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/code-samples-for-rest-apis/m-p/339297#M1660</guid>
      <dc:creator>RobLabs</dc:creator>
      <dc:date>2016-08-17T21:45:22Z</dc:date>
    </item>
  </channel>
</rss>

