Okay so I have cURL installed locally and I'm trying to run some tests
against an instance of Geoserver running on another server. I'm trying
to create a datastore remotely using the below command (copied from
http://docs.geoserver.org/stable/en/user/extensions/rest/rest-config-examples-curl.html)

My command: curl -u admin:password -XPUT -H "Content-type:
application/zip" --data-binary @states.zip
http://10.10.0.20:8001/geoserver/rest/workspaces/workspace/datastores/roads/states.shp

If fails with: curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

So I tried --url http://10.10.0.20:8001/geoserver/rest, but I get the
same error. Anyone with experience using this gotten it to work?

Thanks in advance!

-- 
web http://www.hyxspace.com
aim hyx1138

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to