Merge pull request #246 from joemiller/patch-1
fix doc example to submit valid json in POST body
This commit is contained in:
commit
ce16785f30
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue