AnsweredAssumed Answered

POST method returns a 414 - Request uri too long error when passing complex geometry.

Question asked by rcarberry on Jun 18, 2013
Latest reply on Oct 12, 2015 by ndeniz
I am trying to perform a query operation on a layer in a mapservice by passing in a geometry of type polygon.  The passed in geometry is used to intersect the layer and return the records that the geometry intersected. This works fine for simple geometry however, when I try passing in a complex geometry (one with many vertices, like a curve), I get an error 414 - Request too long.  I am performing this function in a .NET webservice using the POST method for an HttpWebRequest.  What's interesting is if I use the interface on server and copy/paste the geometry string, and clicking POST, it works fine.  Any ideas?

Outcomes