RT。
使用XML失败了。
```curl -v -u admin:geoserver -X PUT -H "accept: application/xml" -d @C:/Users/111111/Desktop/geoserver/test2.xml http://localhost:8888/geoserver/rest/workspaces/P/datastores/datastores/Export_Output.shp
RT。
使用XML失败了。
```curl -v -u admin:geoserver -X PUT -H "accept: application/xml" -d @C:/Users/111111/Desktop/geoserver/test2.xml http://localhost:8888/geoserver/rest/workspaces/P/datastores/datastores/Export_Output.shp
那个地址http://localhost:8888/geoserver/rest/workspaces/P/datastores/datastores/ExportOutput.shp 这里是不是写了两个datastores啊 就直接使用http://localhost:8888/geoserver/rest/workspaces/P/datastores 在xml中描述shp文件的路径名字就可以