The testURLPattern administrative API is a useful tool for administrators to verify how a URL pattern will behave before deploying or updating a Service Interceptor. Given an input URL pattern, this API returns the list of services that match the pattern and can potentially be intercepted. This allows you to experiment with different patterns and refine them to exactly match the services you intend to target.
To use this API, follow these steps:
-
Navigate to https://<domainname>:6443/arcgis/admin/system/interceptors.
-
Click testURLPattern operation.
-
Enter URL pattern as "MapServer”. This will return a list of all MapServer services published in the ArcGIS Server site.
-
Enter a more specific URL pattern as “/SampleWorldCities/MapServer”. This will return single map service with name “SampleWorldCities”.