Hi everyone,

I'm a newbie for GeoServer and cURL (CLI).
I try to use curl with rest configuration but i don't know why curl produced
me "404 Not Found". 
I used  this command: 

C:\Users\Yod>curl -v -XGET
http://localhost:8080/geoserver/rest/workspaces.xml
* About to connect() to localhost port 8080 (#0)
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /geoserver/rest/workspaces.xml HTTP/1.1
> User-Agent: curl/7.19.5 (i586-pc-mingw32msvc) libcurl/7.19.5 zlib/1.2.3
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Thu, 09 Aug 2012 14:13:12 GMT
< Server: Apache/2.2.20 (Win32) PHP/5.3.8
< Content-Length: 227
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;>
<html><head>
<title>404 Not Found</title>
</head><body>
Not Found

<p>The requested URL /geoserver/rest/workspaces.xml was not found on this
server.</p>
</body></html>
* Connection #0 to host localhost left intact
* Closing connection #0

However It is work on Chrome with the same url.

Please suggest me.

thx for adv.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GeoServer-with-cURL-404-Not-Found-tp4994162.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to