diff --git a/website/source/docs/auth/userpass.html.md b/website/source/docs/auth/userpass.html.md index 7ecd36cbbf..e5d985c3c3 100644 --- a/website/source/docs/auth/userpass.html.md +++ b/website/source/docs/auth/userpass.html.md @@ -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: