summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2018-11-22 02:56:17 +0000
committerEvan Read <eread@gitlab.com>2018-11-22 02:56:17 +0000
commitb031e096073b0a6b57003739003003f7333894ad (patch)
treec50ab591c9ae4f4267b0b63d1c211a6f02c87ffd
parent11c6596c057b675a846ff6eeff46c12f49372180 (diff)
parent39e4ad13a34570d038f8070df9701361a9236c50 (diff)
downloadgitlab-ce-b031e096073b0a6b57003739003003f7333894ad.tar.gz
Merge branch 'docs-move-issue-fix' into 'master'
Docs: fix API move issue curl command See merge request gitlab-org/gitlab-ce!23290
-rw-r--r--doc/api/issues.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index 0dc9d706120..0e97d9ea6f5 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -658,7 +658,7 @@ POST /projects/:id/issues/:issue_iid/move
| `to_project_id` | integer | yes | The ID of the new project |
```bash
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data '{"to_project_id": 5}' https://gitlab.example.com/api/v4/projects/4/issues/85/move
+curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --form to_project_id=5 https://gitlab.example.com/api/v4/projects/4/issues/85/move
```
Example response: