diff --git a/website/source/docs/auth/ldap.html.md b/website/source/docs/auth/ldap.html.md
index 90efae460..39f6c552c 100644
--- a/website/source/docs/auth/ldap.html.md
+++ b/website/source/docs/auth/ldap.html.md
@@ -39,7 +39,7 @@ The password should be sent in the POST body encoded as JSON.
```shell
$ curl $VAULT_ADDR/v1/auth/ldap/login/mitchellh \
- -d "password=foo"
+ -d '{ "password": "foo" }'
```
The response will be in JSON. For example:
diff --git a/website/source/docs/auth/userpass.html.md b/website/source/docs/auth/userpass.html.md
index e5d985c3c..e4a345e4f 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: