GRPC vs. REST in practice between teams

Posted by makeevolution@reddit | learnprogramming | View on Reddit | 5 comments

I'm still not sure about the advantage of GRPC being strongly typed and clients and servers are forced to have the same contract. I mean let's say there's team A and B managing different microservices. If we use REST, team B still needs to create an interface (e.g. a csharp class) to model the incoming JSON from team A. So thus team A has to share their model. So this wouldn't be the same as sharing .proto files between the two? How is then having a .proto file beneficial?

Although I do get the other benefits (using binay makes things faster, can model complex operations like "deactivate" without forcing yourself to fit to REST's GET. POST, etc.)