回答

1

有幾種使用令牌進行認證的方法。

基本身份驗證

curl -u<USERNAME>:<TOKEN> http://ARTIFACTORY_URL/api/system/ping 

授權頭

curl -H"Authorization: Bearer <TOKEN>" http://ARTIFACTORY_URL/api/system/ping 

來源:JFrog Artifactory的documenation頁 'Access Tokens'

相關問題