gRPC

gRPC requests use the GRPC method line. Configure proto resolution with file-header operators, then send a JSON body matching the RPC message schema.

Unary call

grpc.httphttp
### GRPC_ECHO

# @grpc-import-path grpc/echopb
# @grpc-proto grpc/echopb/echo.proto
GRPC localhost:8080 grpc_echo.v1.EchoService/Echo
Content-Type: application/json

{
  "ping": "Hello, world!"
}

gRPC operators

OperatorPurpose
@grpc-import-pathDirectory searched for .proto imports
@grpc-protoPrimary proto file path
@grpc-protosetUse a compiled protoset instead of proto files
@grpc-plaintextDisable TLS
@grpc-vVerbose grpcurl-style logging

Paths are relative to the .http file. Kulala uses grpcurl-compatible target parsing: host:port package.Service/Method.