What is proper REST escaped geometry url

1765
0
05-08-2016 02:44 PM
Highlighted
New Contributor

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.

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

pre-escaped:

/query?.......&geometry={"xmin":-79.456,"ymin":38.123,"xmax":-79.224,"ymax":38.543}&geometryType=esriGeometryEnvelope......

Reply
0 Kudos
0 Replies