[Geoserver-users] How to add coveragestore of GeoServer throughRest config request? Not upload the geotiff file, because the file have been in the server/data_dir/data.

I have a small question.When I send the request:

curl -u admin:geoserver -v -XPUT -H ‘Content-type: text/plain’ -d ‘file:data/wywtiff/wywtiff.geotiff’ http://localhost:8080/geoserver/rest/workspaces/acme/coveragestores/radar_sample/url.geotiff?configure=first\&coverageName=radar_sample

It return : the path(data/wywtiff/wywtiff.geotiff ) is not existing.I do not Know the reanon,Because in my Geoserver’s data_dir/,the file is existing. when I send xml file I saw the path is file:data/wywtiff/wywtiff.geotiff. For example:

tifftest
true

wyw

GeoTIFF
file:data/wywtiff/wywtiff.geotiff

In the first curl request( curl -u admin:geoserver -v -XPUT -H 'Content-type: text/plain' -d 'file:data/wywtiff/wywtiff.geotiff'
  http://localhost:8080/geoserver/rest/workspaces/acme/coveragestores/radar_sample/url.geotiff?configure=first\&coverageName=radar_sampl

),
Is the path(file:data/wywtiff/wywtiff.geotiff ) searched from data_dir by default as the coverageStore xml file?
Is the means of the two paths different? Why? How should I set the path in first curl request when the file is in data_dir/data/wywtiff/wywtiff.geotiff?