![](/img/trans.png)
[英]Cannot access Nexus Repository Manager 3 with the REST API
[英]How to rebuild nexus repository metadata using REST API?
我在REST API中找到了/ service / local / metadata / {domain} / {target} / content。
但是当我尝试执行它时(例如使用curl)
curl -v --request DELETE --user "login:password" --silent http://nexusHost/local/metadata/repositories/myRepository/content
我收到此消息,但工作尚未完成
HTTP/1.1 405 La m�thode HTTP DELETE n''est pas support�e par cette URL
你能帮我做这个工作吗? 谢谢。
注意:使用Nexus 2.11.3-01
您只是拼错了您的要求! (您忘记在本地添加服务/ 。
curl -v --request DELETE --user "login:password" --silent http://nexusHost/service/local/metadata/repositories/myRepository/content
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.