logoalt Hacker News

dingaling911 • today at 3:08 PM • 2 replies • view on HN

It's literally JSON-RPC I'm not sure why you say it's a REST API. It's not even close to a REST API.


Replies

WhitneyLand • today at 3:32 PM

In this context/application I see a lot of similarities.

They both provide stateless RPC methods and human readable metadata that makes them easy to route.

You could ask why json-rpc was even necessary for 2.0. I think mostly just for stdio and backwards compatibility.

➕ show 1 reply