Skip to content
代码片段 群组 项目
未验证 提交 18dec8c3 编辑于 作者: Virgil FRADET's avatar Virgil FRADET 提交者: GitLab
浏览文件

Fix doc/header for "download package" with project access token

上级 4ff5988e
No related branches found
No related tags found
无相关合并请求
...@@ -292,7 +292,7 @@ curl --user "<username>:<access_token>" \ ...@@ -292,7 +292,7 @@ curl --user "<username>:<access_token>" \
With HTTP headers: With HTTP headers:
```shell ```shell
curl --header "PROJECT-TOKEN: <project_access_token>" \ curl --header "PRIVATE-TOKEN: <project_access_token>" \
--location \ --location \
"https://gitlab.example.com/api/v4/projects/1/packages/generic/my_package/0.0.1/file.txt" \ "https://gitlab.example.com/api/v4/projects/1/packages/generic/my_package/0.0.1/file.txt" \
--output file.txt --output file.txt
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册