Publishing rest services

2245
1
Jump to solution
09-04-2014 03:40 PM
BhavinSanghani
Occasional Contributor II

When we publish map (or other) services using ArcCatalog then it automatically creates REST url in the following format:

 

http://<arcgisserver>/arcgis/rest/<servicename>

 

But I have noticed several times the urls are in different format. See following, it has little different format. I am wondering why someone would create url in their own format? What is the concern? Is it possible to create rest end point without including /rest/ word in the url?

 

Popup | ArcGIS API for JavaScript

0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor

Hi Bhavin,

The service in the URL you provided is an ArcGIS Online Hosted Service.  The only difference is that an ArcGIS Online Hosted Service includes the ArcGIS Online Organization ID, i.e. V6ZHFr6zdgNZuVG0.

http://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Boston_Marathon/FeatureServer/0

View solution in original post

0 Kudos
1 Reply
JakeSkinner
Esri Esteemed Contributor

Hi Bhavin,

The service in the URL you provided is an ArcGIS Online Hosted Service.  The only difference is that an ArcGIS Online Hosted Service includes the ArcGIS Online Organization ID, i.e. V6ZHFr6zdgNZuVG0.

http://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Boston_Marathon/FeatureServer/0

0 Kudos