Select to view content in your preferred language

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

21393
10
Jump to solution
06-18-2013 06:25 AM
BobCarberry
Deactivated User
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?
0 Kudos
10 Replies
Nezahat_DenizArgıtlı
Emerging Contributor

how did you solve it?

0 Kudos