[Geoserver-users] REST Configuration API

Justin,

I desperately tried all day yesterday to try to POST a coverage and get
Geoserver to accept my image (a GeoTiff).

I am POSTing to a CoverageStore and Workspace that I create using the
REST API.

I am POSTing the following:

URL:
/geoserver/rest/workspaces/testWorkspace/coveragestores/testStore/file.g
eotiff

POST ContentType image/tif and the POST content is the file.

I noticed that if I set the configure=none&coverageName=test flags in
the URL, then the file is ingested by Geoserver without complaining.

When I don't set these cgi parameters, things fail and complain.

Why does this happen?

Also, do I have to create a layer to host the image in the WMS? Or is
this done automatically?

Thanks a million!!

Ronak Patel