Merge pull request #246 from joemiller/patch-1

fix doc example to submit valid json in POST body
This commit is contained in:
Armon Dadgar 2015-05-20 14:40:58 -07:00
commit ce16785f30

View file

@ -35,7 +35,7 @@ The password should be sent in the POST body encoded as JSON.
```shell
$ curl $VAULT_ADDR/v1/auth/userpass/login/mitchellh \
-d "password=foo"
-d '{"password: "foo"}'
```
The response will be in JSON. For example: