ESRI REST URLs – Gotcha
We noticed this behavior with the ESRI REST API URLs today during one of our discussions in the office today. Normally the ESRI REST URLs look this way
In the above URL, the mapserver name is not case-sensitive. That is, the URLs below will work just fine.
But note that in ArcGIS server, you can organize your MapServices in folders. Although, you cannot have folders inside folders. For the MapServices in the folders, the REST URL look like below. Where the URL includes the folder name before the MapService name.
But the weird part is that the name of the folder in the above URL IS case-sensitive. That is, the URLs below will not work.
Hopefully, this inconsistent behavior is an oversight and ESRI would get around to fixing it in the coming versions.