3 ms·
For a public API you want to provide a clean and easy to use example. It's much easier to do it with REST. In docs you can just have a _curl_ example. And the
by splix 3y ago
For a public API you want to provide a clean and easy to use example.
It's much easier to do it with REST. In docs you can just have a _curl_ example. And the JSON req/resp are easy to copy-paste anywhere else. You can start experimenting immediately, even in the same browser tab with js console.
With protobuf there is an initial barrier, because before you start you have to download proto definitions or a client library.
- dilyevsky 3y agoAll of these are non-issue if you use grpcurl and enable server-side reflection