diff options
author | winniehell <git@winniehell.de> | 2016-08-08 09:47:17 +0200 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-08-09 01:42:50 +0200 |
commit | e0a858efcc66246b2811f89b04b3479089345476 (patch) | |
tree | 9e4e1b35384813c2055666bfbadc932764a09d4f /doc/api/session.md | |
parent | a361f314f8f7f00a7541a5af1b8a2a92ced475e9 (diff) | |
download | gitlab-ce-e0a858efcc66246b2811f89b04b3479089345476.tar.gz |
use long options for curl examples in API documentation (!5703)
Diffstat (limited to 'doc/api/session.md')
-rw-r--r-- | doc/api/session.md | 2 |
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: |