Commit 11365fbf authored by Riccardo Padovani's avatar Riccardo Padovani

Fix API URL in snippet

parent b4f1319d
...@@ -49,7 +49,7 @@ Example request: ...@@ -49,7 +49,7 @@ Example request:
```shell ```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" \ curl --header "PRIVATE-TOKEN: <your_access_token>" \
--upload-file path/to/file.txt \ --upload-file path/to/file.txt \
https://gitlab.example.com/api/v4/projects/24/generic/my_package/0.0.1/file.txt https://gitlab.example.com/api/v4/projects/24/packages/generic/my_package/0.0.1/file.txt
``` ```
Example response: Example response:
...@@ -85,7 +85,7 @@ Example request that uses a personal access token: ...@@ -85,7 +85,7 @@ Example request that uses a personal access token:
```shell ```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" \ curl --header "PRIVATE-TOKEN: <your_access_token>" \
https://gitlab.example.com/api/v4/projects/24/generic/my_package/0.0.1/file.txt https://gitlab.example.com/api/v4/projects/24/packages/generic/my_package/0.0.1/file.txt
``` ```
## Publish a generic package by using CI/CD ## Publish a generic package by using CI/CD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment