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:
authorJames Lopez <james@jameslopez.es>2018-02-14 16:55:11 +0300
committerJames Lopez <james@jameslopez.es>2018-02-14 16:55:11 +0300
commit2dc2bad6233e1e74c74c49af4be838e0a39dcd53 (patch)
treee08d0bcbd96524cce38a67e10bea71708ea75359 /doc/api/project_import_export.md
parente613d777b258a4f7070d2b7aaee093901e4b7ed7 (diff)
refactor code based on feedback
Diffstat (limited to 'doc/api/project_import_export.md')
-rw-r--r--doc/api/project_import_export.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/project_import_export.md b/doc/api/project_import_export.md
index 17b9b530be7..c473b94aafe 100644
--- a/doc/api/project_import_export.md
+++ b/doc/api/project_import_export.md
@@ -22,7 +22,7 @@ The `file=` parameter must point to a file on your filesystem and be preceded
by `@`. For example:
```console
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -F "path=api-project" -F "file=@/path/to/file" https://gitlab.example.com/api/v4/projects/import
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --form "path=api-project" --form "file=@/path/to/file" https://gitlab.example.com/api/v4/projects/import
```
```json