<?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 What is proper REST escaped geometry url in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/what-is-proper-rest-escaped-geometry-url/m-p/55002#M296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am making a REST call to retrieve a FeatureSet. To do the query, one of my parameters is an envelope (I'm performing a spatial query). While debugging my mobile application the code works on my PC as well as my Mac, however, it fails when built and run on an iPAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example query that I am using. My question is how to properly escape the url in order for it to run on all platforms. I've narrowed the escaping problem to the geometry parameter&lt;/P&gt;&lt;P&gt;pre-escaped:&lt;/P&gt;&lt;P&gt;/query?.......&amp;amp;geometry={"xmin":-79.456,"ymin":38.123,"xmax":-79.224,"ymax":38.543}&amp;amp;geometryType=esriGeometryEnvelope......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 May 2016 21:44:20 GMT</pubDate>
    <dc:creator>ChrisAnderson7</dc:creator>
    <dc:date>2016-05-08T21:44:20Z</dc:date>
    <item>
      <title>What is proper REST escaped geometry url</title>
      <link>https://community.esri.com/t5/developers-questions/what-is-proper-rest-escaped-geometry-url/m-p/55002#M296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am making a REST call to retrieve a FeatureSet. To do the query, one of my parameters is an envelope (I'm performing a spatial query). While debugging my mobile application the code works on my PC as well as my Mac, however, it fails when built and run on an iPAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example query that I am using. My question is how to properly escape the url in order for it to run on all platforms. I've narrowed the escaping problem to the geometry parameter&lt;/P&gt;&lt;P&gt;pre-escaped:&lt;/P&gt;&lt;P&gt;/query?.......&amp;amp;geometry={"xmin":-79.456,"ymin":38.123,"xmax":-79.224,"ymax":38.543}&amp;amp;geometryType=esriGeometryEnvelope......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 May 2016 21:44:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/what-is-proper-rest-escaped-geometry-url/m-p/55002#M296</guid>
      <dc:creator>ChrisAnderson7</dc:creator>
      <dc:date>2016-05-08T21:44:20Z</dc:date>
    </item>
  </channel>
</rss>

