On 15 June 2011 10:05, Vikash Talanki <vikashtala...@gmail.com> wrote: > Hi, > > > I want to use rest api for geoserver , so I downloaded geoserver-2.1.0, > since the rest is inbuilt in it. I am able to see the content at > http://localhost:8080/geoserver/rest like such links. This makes me think > that rest is installed. But when I use the curl commands for creating a > workspace/store/layer I am getting the error as "system cannot find the file > specified". > >>curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' \ > -d '<workspace><name>acme</name></workspace>' \ > http://localhost:8080/geoserver/rest/workspaces >>System cannot find the file specified.
Looks like curl is not on your path or not installed - I've just pasted that in to a terminal window here and it works fine, Ian -- Ian Turton ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users