Ask HN: Do You Prefer REST or RPC Style APIs?

https://news.ycombinator.com/item?id=20942985
by gauravphoenix • 7 years ago
6 3 7 years ago

Personally I prefer to expose REST APIs for the external (Internet) facing services for simplicity. For internal APIs I prefer gRPC for performance reasons. The real question is that if there are no technical limitations (HTTP 1.1 vs 2 etc, bi-directional and communication etc), which style of API would you prefer and why?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com