我正在使用 Couchbase,并且我想删除一个存储桶。
根据official page 我应该这样做:
To delete buckets, use the DELETE /pools/default/buckets/[bucket-name] HTTP method and URI.
我正在使用 Windows Server 2012,这就是我所做的:
C:\Users\Administrator>curl -X DELETE "/pools/default/buckets/gamesim-sample"
curl: (3) <url> malformed
正如您所见,我收到了上面显示的错误。
最佳答案
这不是一个 URL,您是否尝试过向其中添加 http://localhost:port
?
关于curl - Windows服务器如何发送HTTP删除方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32104811/