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
Solved! Go to Solution.
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/20157706/get-request-why-is-my-uri-so-long
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/20157706/get-request-why-is-my-uri-so-long