[英]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.