Ask HN: Do You Prefer REST or RPC Style APIs?
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?
3 comments
[ 3.1 ms ] story [ 15.1 ms ] threadIf so, no.
Wildcard's readme elaborates more on RPC vs REST: https://github.com/reframejs/wildcard-api
(Wildcard is RPC implementation for Node.js and the browser.)