Hello:
My GIS server hosts a dynamic map service which contains several layers. Each layer is a designed map showing a field from the attribute table of a shapefile. How can I get the field name from the dynamic map service REST URL with JavaScript API? I am using ArcGIS Server 10.3.1.
Thanks in advance!