summaryrefslogtreecommitdiff
path: root/doc/api/session.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/session.md')
-rw-r--r--doc/api/session.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/session.md b/doc/api/session.md
index 066a055702d..9076c48b899 100644
--- a/doc/api/session.md
+++ b/doc/api/session.md
@@ -21,7 +21,7 @@ POST /session
| `password` | string | yes | The password of the user |
```bash
-curl -X POST "https://gitlab.example.com/api/v3/session?login=john_smith&password=strongpassw0rd"
+curl --request POST "https://gitlab.example.com/api/v3/session?login=john_smith&password=strongpassw0rd"
```
Example response: