Skip to content

Instantly share code, notes, and snippets.

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