Skip to content

gRPC

Choose gRPC in the method picker. Use grpc:// for plain text or grpcs:// for TLS.

A gRPC call: the Service tab with the method and its JSON message.

On the Service tab, choose the .proto file (its imports are read from the same folder), then the method; methods that answer with a stream say “stream of answers”. Example Message fills in a message to start from. The message is JSON and can use {{variables}}. Headers are called Metadata here. Invoke calls the method and Cancel stops it.

korAPI calls unary and server-streaming methods. For client-streaming and bidirectional methods it sends the one message.

The call ends with its status, for example “gRPC status 0 OK”, or “gRPC status 5 NOT_FOUND: …” in red. grpc-status and grpc-message are kept with the headers, so a Header check can test them.

Not supported yet: server reflection (choose the .proto file instead) and decoding compressed answers.