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; });
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.