Scott,

However, the second step of adding the coverage, e.g.:

curl -X POST -u admin:geoserver -H "Content-Type: application/json" -d '{
   "coverage": {
     "name": "rest_test_01"
   }
}
' 
"http://myhost:8080/geoserver/rest/workspaces/test/coveragestores/rest_test_01/coverages.json";
  
<http://myhost:8080/geoserver/rest/workspaces/test/coveragestores/rest_test_01/coverages.json%22>;


The problem is that POST on coverages as shown in http://docs.geoserver.org/stable/en/user/rest/api/coverages.html returns a 405 which is "Method not allowed"


GET Return coveragec 200 HTML, XML, JSON HTML /quietOnNotFound/ <http://docs.geoserver.org/stable/en/user/rest/api/coverages.html#rest-api-coverages-quietonnotfound>
POST            405                     
PUT     Modify coveragec        200     XML,JSON                
DELETE Delete coveragec 200 /recurse/ <http://docs.geoserver.org/stable/en/user/rest/api/coverages.html#rest-api-coverages-recurse>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to