Doc: Update curl command to fix 400 Bad Request (#11911)

This commit is contained in:
OG 2020-08-17 02:12:39 +03:00 committed by GitHub
parent 0e4ba37b6c
commit 0526f461e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ Set the `Authorization` header to the authentication token to fetch a key using
```bash
curl -L http://localhost:2379/v3/kv/put \
-H 'Authorization : sssvIpwfnLAcWAQH.9' \
-H 'Authorization: sssvIpwfnLAcWAQH.9' \
-X POST -d '{"key": "Zm9v", "value": "YmFy"}'
# {"header":{"cluster_id":"14841639068965178418","member_id":"10276657743932975437","revision":"2","raft_term":"2"}}
```