title: REST vs JSON-RPC?
body: <p>I'm trying to chose between REST and JSON-RPC for developing an API for a web application. How do they compare?</p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>