Skip to content

Instantly share code, notes, and snippets.

@hojongs
Created March 22, 2022 06:05
Show Gist options
  • Save hojongs/b3a8ca3a103aa52af333f3eb281371f8 to your computer and use it in GitHub Desktop.
Save hojongs/b3a8ca3a103aa52af333f3eb281371f8 to your computer and use it in GitHub Desktop.
grpcurl example
#!/usr/bin/env bash
REQ='{"service": ""}'
URL='grpc.hojongs.com'
RPC='grpc.health.v1.Health/Check'
grpcurl \
-d "$REQ" \
$URL \
$RPC
REQ='{"service": ""}'
URL='grpc.hojongs.com'
RPC='grpc.health.v1.Health/Watch'
grpcurl \
-d "$REQ" \
$URL \
$RPC
@hojongs
Copy link
Author

hojongs commented Mar 22, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment