I am trying to list out all the services names and URL and output it to an html table. I am doing so for each of the folders that we have in our ArcGIS Server. To accomplish that I am using ESRI/request module. I can retrieve the name of the service easy with this module, but can i also retrieve the URL?
ESRI example that I am using:
Enter the URL for a layer in a map service to access metadata about a layer in a map service using esriRequest.
Check the console for the full response. Here we'll display Field names, aliases and types: