Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 613 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 613 Bytes

gRPC + REST Gateway Play

Blog post: https://coreos.com/blog/gRPC-protobufs-swagger.html

To try it all out do this:

$ go get -u github.com/philips/grpc-gateway-example
$ grpc-gateway-example serve
$ grpc-gateway-example echo "my first rpc echo"
$ curl -X POST -k https://localhost:10000/v1/echo -H "Content-Type: text/plain" -d '{"value": "foo"}'
{"value":"my REST echo"}

Huge thanks to the hard work people have put into the Go gRPC bindings and gRPC to JSON Gateway