Hot answers tagged arcgis-server
SampleServer3 = ArcGIS 10.0. SampleServer6 = 10.3. As suggested, its the server which is having problems, not your code. The following works against 10.3 - note I modified your code to use built-ins instead of Requests. (Remember, Server underwent massive changes between 10.0 and 10.1. If you're stuck at 10.0 I'd suggest looking to upgrade as soon as ...
As @polygeo suggests, POST requests do have a size limit, but it depends on server and browser. http://stackoverflow.com/a/2880777/3182496
Storing images in a database stopped being high-tech with the introduction of map caching at ArcGIS 9.2 (9 years ago). Current best practice for serving images is to use image files on disk from a raster dataset (which requires the Image Server extension). Extracting image files from an ArcSDE database should be a last-ditch effort -- far better to use the ...
Only top voted, non community-wiki answers of a minimum length are eligible