Request-URI Too Long Error

5286
1
Jump to solution
10-12-2015 05:11 AM
Nezahat_DenizArgıtlı
New Contributor

i am trying to download polygon features from a service to arcgis rest service. when transfering the complex polygon(have long wkt) features i get an error request - uri too long. i am waiting for your help

0 Kudos
1 Solution

Accepted Solutions
TyroneBiggums
Occasional Contributor III

I'm not sure how you're implementing your service, but in general you could try changing your get to a post (but look into the fallbacks of that - I wouldn't change it without knowing what's happening else you could have unexpected results). And look into x-http-method-override.

http://stackoverflow.com/questions/19771031/rest-request-cannot-be-encoded-for-get-url-too-long

http://stackoverflow.com/questions/28957194/414-request-uri-too-long-marketo-rest-api-get-muliple-le...

http://stackoverflow.com/questions/20157706/get-request-why-is-my-uri-so-long

View solution in original post

0 Kudos
1 Reply
TyroneBiggums
Occasional Contributor III

I'm not sure how you're implementing your service, but in general you could try changing your get to a post (but look into the fallbacks of that - I wouldn't change it without knowing what's happening else you could have unexpected results). And look into x-http-method-override.

http://stackoverflow.com/questions/19771031/rest-request-cannot-be-encoded-for-get-url-too-long

http://stackoverflow.com/questions/28957194/414-request-uri-too-long-marketo-rest-api-get-muliple-le...

http://stackoverflow.com/questions/20157706/get-request-why-is-my-uri-so-long

0 Kudos