Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Holland <aholland@duosecurity.com>2018-07-16 20:08:15 +0300
committerAlex Holland <aholland@duosecurity.com>2018-07-16 20:08:15 +0300
commit1b3dcfc1e3ca2da565d0949d27268b22220a05d7 (patch)
treebdca54ae457794c991a0574dfe375bdadedf66e8 /doc/api/pipelines.md
parent907dccddeb658ddad808dc6ebc3e219b6e1d223b (diff)
Update pipelines.md to have correct curl commands
Diffstat (limited to 'doc/api/pipelines.md')
-rw-r--r--doc/api/pipelines.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/pipelines.md b/doc/api/pipelines.md
index ebae68fe389..22cf9afbcd2 100644
--- a/doc/api/pipelines.md
+++ b/doc/api/pipelines.md
@@ -151,7 +151,7 @@ POST /projects/:id/pipelines/:pipeline_id/retry
| `pipeline_id` | integer | yes | The ID of a pipeline |
```
-curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/pipelines/46/retry"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/pipelines/46/retry"
```
Response:
@@ -197,7 +197,7 @@ POST /projects/:id/pipelines/:pipeline_id/cancel
| `pipeline_id` | integer | yes | The ID of a pipeline |
```
-curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/pipelines/46/cancel"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/pipelines/46/cancel"
```
Response: