Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Olyster
Have you changed anything in the security configurations ? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this

Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Crawford Jr., Stephen Rand
Now that you mention it, no I can't. Null pointer exception. So I need look at other things. Thanks From: Olyster Sent: Friday, September 14, 2018 1:36:46 PM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] cannot use DELETE for

Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Olyster
Can you perform the same delete operation using the same user via the web admin console ? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html ___ Geoserver-users mailing list Please make sure you read the following two res

Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Stephen Crawford
This works, returning a list of all my coverage stores in workspace "cei": curl -v -u user:password -XGET -H "Accept: text/xml" http://localhost:8080/geoserver/rest/workspaces/cei/coveragestores This does not work, attempting to delete a specific coverage store: curl -v -u user:password -XDELET

Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Olyster
Which REST path have you tried ? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your

Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Stephen Crawford
I am able to use GET to list the coverage stores and POST to configure new ones, but DELETE returns a 401 error.  I have read that Tomcat does not allow PUT or DELETE out of the box but they can be added in the web.xml.  I just wonder if that is a security issue, or if there is a way to enable

Re: [Geoserver-users] cannot use DELETE for REST

2018-09-14 Thread Olyster
Hi, I've tried it and it works on my side. Have you tried with postman with a basic authorization header ? Also verify that you send your DELETE request on the right REST node using this link : http://docs.geoserver.org/latest/en/api/#/1.0.0/coveragestores.yaml -- Sent from: http://osg

[Geoserver-users] cannot use DELETE for REST

2018-09-13 Thread Stephen Crawford
Hi All, I have a bunch of coverage stores that I want to remove using the RESTful interface.  However it seems Tomcat is configured such that DELETE is not allowed?  It returns 401 Unauthorized even though I know I have the correct user:password.  My question: do I need to change the config o