diff options
Diffstat (limited to 'doc/api/project_snippets.md')
-rw-r--r-- | doc/api/project_snippets.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/project_snippets.md b/doc/api/project_snippets.md index 7a6c90701ba..3f40845fddc 100644 --- a/doc/api/project_snippets.md +++ b/doc/api/project_snippets.md @@ -83,7 +83,7 @@ Parameters: Example request: -```bash +```shell curl --request POST https://gitlab.com/api/v4/projects/:id/snippets \ --header "PRIVATE-TOKEN: <your access token>" \ --header "Content-Type: application/json" \ @@ -122,7 +122,7 @@ Parameters: Example request: -```bash +```shell curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets \ --header "PRIVATE-TOKEN: <your_access_token>" \ --header "Content-Type: application/json" \ @@ -156,7 +156,7 @@ Parameters: Example request: -```bash +```shell curl --request DELETE https://gitlab.com/api/v4/projects/:id/snippets \ --header "PRIVATE-TOKEN: <your_access_token>" ``` @@ -176,7 +176,7 @@ Parameters: Example request: -```bash +```shell curl --request GET https://gitlab.com/api/v4/projects/:id/snippets/:snippet_id/raw \ --header "PRIVATE-TOKEN: <your_access_token>" ``` @@ -198,7 +198,7 @@ GET /projects/:id/snippets/:snippet_id/user_agent_detail Example request: -```bash +```shell curl --request GET --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/1/snippets/2/user_agent_detail ``` |