It's been a long time since I've tried this, but you definitely have to use the geoserver admin username and password if you are running the embedded version.
-Arne On 3/1/11 6:38 PM, Nicolas Garnier wrote: > Hi, > > I have the same issue. > I'm trying to reload geowebcache through REST API in agreement with this > page : > href="http://geowebcache.org/docs/current/configuration/reload.html">Geowebcache > Rest reload documentation > But i cant' succeed. > > My request : > > geolocalisation:/home/garnier# curl -v -u geowebcache:secured -d "reload" > http://localhost:8080/geowebcache/rest/ > > * About to connect() to localhost port 8080 (#0) > * Trying ::1... connected > * Connected to localhost (::1) port 8080 (#0) > * Server auth using Basic with user 'geowebcache' >> POST /geowebcache/rest/ HTTP/1.1 >> Authorization: Basic Z2Vvd2ViY2FjaGU6c2VjdXJlZA== >> User-Agent: curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o >> zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6 >> Host: localhost:8080 >> Accept: */* >> Content-Length: 6 >> Content-Type: application/x-www-form-urlencoded >> > < HTTP/1.1 405 Mehtod not authorized > < Allow: > < Date: Tue, 01 Mar 2011 17:13:02 GMT > < Server: Noelios-Restlet-Engine/1.0..8 > < Transfer-Encoding: chunked > < > * Connection #0 to host localhost left intact > * Closing connection #0 > > Is there any way to do it ? > > Thx > > Nicolas > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users