make use of -plaintext flag more clear in examples

This commit is contained in:
Joshua Humphries 2020-08-24 13:56:57 -04:00 committed by GitHub
parent e544b9e66f
commit ceef817807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -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