Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to learn geoserver's rest-api following http://docs.geoserver.org/2.0.x/en/user/extensions/rest/index.html.

I have placed rest-2.0.3 jar file in geoserver/webmaps/geoserver/WEB-INF/lib folder and restarted the server. I don't know whether this completes the installation of rest.

All the examples in curl rest shows the path as *http://localhost/geoserver/rest/workspaces..... but I am not able to find any rest folder and the link *http://localhost:8080/geoserver/rest giving me the page with "Geoserver Configuration API" .

I have followed Using REST service with GeoServer but even this doesn't solve my problem.

Can you please tell me how to find whether rest is installed or not.... *http://localhost:8080/geoserver/rest/layers/giant_polygon.html also giving me "Geoserver Configuration API".

share|improve this question
2  
are you using version 2.0.3? If you use 2.1 then Rest is built in so there is no need to add the plugin. –  iant Jun 14 '11 at 21:04
    
Use Geoserver 2.1 REST is built in as iant mentions –  Mapperz Jun 14 '11 at 21:35
    
@iant, installing 2.1.0 is working fine. I can see all the workspaces at localhost:8081/geoserver/rest/workspaces . But When I try to create a workspace following docs.geoserver.org/2.0.x/en/user/extensions/rest/… the curl command tool is giving me "the system cannot find the file specified". Where am I going wrong??? Is there any relation btw the curl path and geoserver path?? I think there shouldn't be any. I am running curl from C:/windows/system32/curl –  Vikash Talanki Jun 14 '11 at 21:44
    
It sounds like curl is not installed properly, I can't really help I've never used it in windows. –  iant Jun 14 '11 at 22:18
    
@VikashTalanki How did you install cURL btw? –  R.K. Dec 20 '12 at 14:04

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.