Browse Source

Documentation: Add the -N option to curl for the watch example to disable buffering

Paul Frieden 7 years ago
parent
commit
b3faeb5d86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Documentation/dev-guide/api_grpc_gateway.md

+ 1 - 1
Documentation/dev-guide/api_grpc_gateway.md

@@ -48,7 +48,7 @@ curl -L http://localhost:2379/v3/kv/range \
 Use the `/v3/watch` service to watch keys:
 Use the `/v3/watch` service to watch keys:
 
 
 ```bash
 ```bash
-curl http://localhost:2379/v3/watch \
+curl -N http://localhost:2379/v3/watch \
   -X POST -d '{"create_request": {"key":"Zm9v"} }' &
   -X POST -d '{"create_request": {"key":"Zm9v"} }' &
 # {"result":{"header":{"cluster_id":"12585971608760269493","member_id":"13847567121247652255","revision":"1","raft_term":"2"},"created":true}}
 # {"result":{"header":{"cluster_id":"12585971608760269493","member_id":"13847567121247652255","revision":"1","raft_term":"2"},"created":true}}