News for hackers. Stuff that matters.
Re:A detailed comparison of REST and gRPC by tweenagedream on Saturday April 29, 2023 @10:15AM (#35753064)
For gRPC, the protobuf is the API specification, a service definition with endpoints, what requests to those endpoints should look like and what responses look like. Of course, there are better and worse implementations, e.g. a well commented proto definition explaining what various args do, etc.

In gRPC the definition is a requirement to use, so at the bare minimum you have the typed structure of requests and responses. There is no such requirement for REST

There are no comments on this comment yet.