How to make grpc call from shell

1
https://github.com/grpc/grpc/blob/master/doc/command_line_tool.md

grpc_cli call localhost:7020 ChatAPI.GetChats "external_user:{id:'30594028',type:1}, limit:10, offset:0, order:ORDER_DESC, requested_by_external_user:{id:'30594028',type:1},with_unread_count:true"

2
https://github.com/fullstorydev/grpcurl

grpcurl -plaintext -emit-defaults -d '{"lozon_id": 15515160432000}' -H 'User-Name: grpcurl' localhost:7020 points/FindPointByLozonID

LEAVE A COMMENT