diff --git a/README.md b/README.md index 61fe34c..b971957 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,12 @@ grpcurl -H header1:value1 -H header2:value2 -d '{"id": 1234, "tags": ["foo","bar ``` For more usage guide, check out the help docs via `grpcurl -help` +Sometimes it might be necessary to read the payload from a file. This worked for some users: + +```shell +grpcurl -d "$(cat my.json)" grpc.server.com:443 my.custom.server.Service/Method +``` + ### Listing Services To list all services exposed by a server, use the "list" verb. When using `.proto` source or protoset files instead of server reflection, this lists all services defined in the