From 0526f461e1d35f13a85836674951cb12c6bee187 Mon Sep 17 00:00:00 2001 From: OG Date: Mon, 17 Aug 2020 02:12:39 +0300 Subject: [PATCH] Doc: Update curl command to fix 400 Bad Request (#11911) --- Documentation/dev-guide/api_grpc_gateway.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/dev-guide/api_grpc_gateway.md b/Documentation/dev-guide/api_grpc_gateway.md index 433959d30..5dab2489b 100644 --- a/Documentation/dev-guide/api_grpc_gateway.md +++ b/Documentation/dev-guide/api_grpc_gateway.md @@ -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"}} ```