Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded and installed GeoServer 2.1-RC1 which shipped with RESTconfig. How can i check whether REST service is installed with GeoServer or Not ?

I put this "http://localhost:8080/geoserver/rest" in my browser, but it gives error! ... It means REST service is not installed as i understand. Or is there any other method to check whether the service is installed or not ?

share|improve this question

Have you tried any of the configuration examples in the docs (here)?

You can access layer information through e.g. http://localhost:8080/geoserver/rest/layers/giant_polygon.html

Publishing a shapefile works like this:

Consider a directory on the server /data/shapefiles/roads that contains the Shapefile roads.shp. The following adds a new datastore for the Shapefile:

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' \
-d 'file:///data/shapefiles/roads/roads.shp' \

Source: Geoserver REST Docs (Also describes how to add a PostGIS layer.)

share|improve this answer
Actually i want to know, How i publish my data – user1899 Feb 13 '11 at 20:34
Please explain which step is causing you troubles. Have you checked – underdark Feb 13 '11 at 20:42
Actually i want to know, How i publish my data by using REST service. because My data is published by Geoserver default protocols wfs or wms. I can see wms, wfs and wcs services on geoserver web page services section at localhost:8080/geoserver/web. But i could not see REST any where. How can i see REST or can check wether its available or not? – user1899 Feb 13 '11 at 20:43
Have you tried something like localhost:8080/geoserver/rest/layers/giant_polygon.html? – underdark Feb 13 '11 at 21:15
I doubt that it is possible to get ArcGIS Javascript API to work with Geoserver using REST. Why not use something standardized like WMS?… – underdark Feb 14 '11 at 12:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.