Multiple interceptors

79
0
01-04-2022 06:00 AM
Dvirusb
New Contributor III

Hi,

ArcGIS Experience Builder already use Interceptor.

I tried to add another one

esriConfig.request.interceptors.push({
urls: /FeatureServer\/\d+$/,
after: function (response) {
response.data.supportedQueryFormats = "JSON";
}
});‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

 

But it's not working.

esriConfig.request.interceptors support multiple interceptors?

 

 

 

0 Kudos
0 Replies