From fcd156d4c0309ccb9a850e2cfd55a18f4fa04c2a Mon Sep 17 00:00:00 2001 From: Mo Kweon Date: Wed, 29 Jul 2020 22:39:00 -0700 Subject: [PATCH] Update README.md to make -plaintext more visible --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1673edc..9cb38bc 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ See also the [`grpcurl` talk at GopherCon 2018](https://www.youtube.com/watch?v= operate bi-directional streaming methods interactively by running `grpcurl` from an interactive terminal and using stdin as the request body! -`grpcurl` supports both plain-text and TLS servers and has numerous options for TLS +`grpcurl` supports both plain-text(i.e., no TLS) and TLS servers and has numerous options for TLS configuration. It also supports mutual TLS, where the client is required to present a client certificate. @@ -91,6 +91,9 @@ that requires no client certs and supports server reflection is the simplest thi do with `grpcurl`. This minimal invocation sends an empty request body: ```shell grpcurl grpc.server.com:443 my.custom.server.Service/Method + +# no TLS +grpcurl -plaintext grpc.server.com:80 my.custom.server.Service/Method ``` To send a non-empty request, use the `-d` argument. Note that all arguments must come