Created
August 31, 2017 16:56
-
-
Save salrashid123/9f3830ef8d18c0cf1f6f9de05b072f1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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