Skip to content

Instantly share code, notes, and snippets.

@salrashid123
Last active August 28, 2017 17:17
Show Gist options
  • Save salrashid123/0e2bbebba23619751a0ce1b30788e0a1 to your computer and use it in GitHub Desktop.
Save salrashid123/0e2bbebba23619751a0ce1b30788e0a1 to your computer and use it in GitHub Desktop.
docker run \
--net=host \
--add-host main.esodemoapp2.com:127.0.0.1 \
-v `pwd`:/tmp/ \
salrashid123/grpc_curl \
curl -v -k --raw -X POST \
--http2 \
-H "Content-Type: application/grpc" \
-H "TE: trailers" \
--data-binary @/tmp/frame.bin \
https://main.esodemoapp2.com:50051/echo.EchoServer/SayHello \
-o /tmp/resp.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment