summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-03-05 23:03:54 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-03-05 23:03:54 +0100
commit16897d32d2d8fe848c7bbd7ba2acb8ff64bbd0bf (patch)
tree713ab1aa69f830512c46afc5803c4c83b18a4b61
parente4a9b8a9e1f4052fde9ecacad73e2f96fdd8d21d (diff)
downloadgitlab-ce-16897d32d2d8fe848c7bbd7ba2acb8ff64bbd0bf.tar.gz
Lint doc
-rw-r--r--doc/api/pipeline_triggers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/pipeline_triggers.md b/doc/api/pipeline_triggers.md
index aebc84b9a66..a26bdfdbfca 100644
--- a/doc/api/pipeline_triggers.md
+++ b/doc/api/pipeline_triggers.md
@@ -77,7 +77,7 @@ POST /projects/:id/triggers
| `description` | string | yes | The trigger name |
```
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -F description="my description" "https://gitlab.example.com/api/v4/projects/1/triggers"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --form description="my description" "https://gitlab.example.com/api/v4/projects/1/triggers"
```
```json
@@ -107,7 +107,7 @@ PUT /projects/:id/triggers/:trigger_id
| `description` | string | no | The trigger name |
```
-curl --request PUT -F description="my description" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/triggers/10"
+curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --form description="my description" "https://gitlab.example.com/api/v4/projects/1/triggers/10"
```
```json