AnsweredAssumed Answered

Insert custom http header into request

Question asked by nathanielolson on Jan 14, 2016
Latest reply on May 8, 2018 by nathanielolson

I have implemented a proxy in front of my arcgis server. The proxy has its own authentication that requires a custom http header be added to the http request. I have looked at the esriRequest.setRequestPreCallback to try set the headers there, but the ioArgs do not allow me to insert a custom header. Is there a way to insert a custom http header on all esri requests that go through my proxy?