This commit is contained in:
Dominik Dorn 2026-02-20 06:39:17 -08:00 committed by GitHub
commit 0ccf436695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -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` 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 ### Listing Services
To list all services exposed by a server, use the "list" verb. When using `.proto` source 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 or protoset files instead of server reflection, this lists all services defined in the