38.7 gRPC-Gateway: Exposing gRPC Services as REST
Right, so you’ve built this beautiful, efficient gRPC service. It’s humming along, all type-safe and binary-efficient, and you’re feeling pretty good about yourself. Then someone—probably a product manager, or maybe a frontend developer who refuses to embrace the future—asks, “Cool, but how do we call it from the browser?” or “Our mobile app needs a REST API.” Your heart sinks. You’re not going to rewrite your entire service as a JSON-speaking HTTP server, are you?