I am using Esri API Version 3.43.
We are trying to inject custom request header to ESRI JavaScript API request from Angular application and it is successfully adding into request header but it is unable to inject request header to export method URL of DynamicMapserviceLayer
For below URL we can not able to inject custom request header
For below URL we can able to inject custom request header
As I analysis from the code export method request is not originating from Angular code but from ArcGISDynamicMapServiceLayer Esri JS API.
Is there any way to inject custom request header to ArcGISDynamicMapServiceLayer Esri API.
Any suggestion is welcome....
Thanks in advance.
Best Regards,
Harshal
There is some reference in the documentation about an esri request wrapper that maybe can help you here: https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#RequestOptions