I do have this will, POST to ExportMap request because of long layerDefinitions parameter.
I created a thread regarding this issue but I can't find the solution:
esri js api post for exportMap
Using the proxy does not help or maybe I missed anything ?
Thanks
esri.setRequestPreCallback(function (ioArgs) { if (arcToken != '') { if (ioArgs.url.indexOf('?') > -1) { var url = ioArgs.url + '&token='+arcToken; ioArgs.url = url; } if (ioArgs.content != {}) { ioArgs.content['token'] = arcToken; } } if (ioArgs.url.indexOf("GPServer") > -1) { ioArgs.preventCache = true; } return ioArgs; });
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.