From ceef817807ab786fa9ae3659112bccf51622af07 Mon Sep 17 00:00:00 2001 From: Joshua Humphries Date: Mon, 24 Aug 2020 13:56:57 -0400 Subject: [PATCH] make use of -plaintext flag more clear in examples --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1673edc..441df53 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ 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 -configuration. It also supports mutual TLS, where the client is required to present a -client certificate. +`grpcurl` supports both secure/TLS server _and_ plain-text (i.e. no TLS) and has +numerous options for TLS configuration. It also supports mutual TLS, where the client +is required to present a client certificate. As mentioned above, `grpcurl` works seamlessly if the server supports the reflection service. If not, you can supply the `.proto` source files or you can supply protoset @@ -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