gRPC API

Binary, strongly typed (demo: JSON over HTTP)

Why it exists

  • Fast (HTTP/2 + Protocol Buffers)
  • Strict contracts, code generation

Tradeoffs

  • Browser support needs grpc-web or a proxy
POST /api/grpc — body: { method, message } (real gRPC: HTTP/2 + protobuf)

gRPC-style call (demo: JSON over HTTP; real gRPC uses HTTP/2 + protobuf)

Response