Using gRPCurl to interact with gRPC services

Using gRPCurl to interact with gRPC services

15.047 Lượt nghe
Using gRPCurl to interact with gRPC services
In this video I show you how to use the command line tool gRPCurl to make requests with gRPC services. A common way of interacting with HTTP based APIs is to use the tool curl to make requests and send payloads. This is not possible with gRPC as the protocol and payload are binary based. This generally causes you to write custom applications for testing or interacting with your gRPC services. gRPCurl is an excellent tool which attempts to replicate the behaviour of curl but allow you to interact with binary based gRPC services. It supports both Unary and Streaming Methods an allows you to send data in a user friendly JSON format. A very very cool tool indeed. gRPCurl: https://github.com/fullstorydev/grpcurl Example Service: https://github.com/nicholasjackson/all-things-microservices/tree/master/grpc-curl Protocol Buffer Encoding: https://developers.google.com/protocol-buffers/docs/encoding The proceeds for any advertisements broadcast in any content on All Things Microservices is donated to charity.