REST vs JSON-RPC? [closed]

I’m trying to chose between REST and JSON-RPC for developing an API for a web application. How do they compare?

Update 2015: I have found REST easier to develop and use for an API which is served on Web/HTTP, because the existing and mature HTTP protocol which is understood by both client and server can be leveraged by the API. For example response codes, headers, queries, post bodies, caching and many other features can be used by the API without any additional effort or setup.

15 Answers
15

Leave a Comment