News for hackers. Stuff that matters.
Re:Show HN: WebRPC – a simple alternative to REST and SOAP by leejoramo on Wednesday October 21, 2015 @11:13AM (#10425979)
So how does this compare to XML-RPC?

I see that it is using JSON instead of XML.

> Support currently exists for implementing web RPC services in Java, and consuming services in Java, Objective-C/Swift, or JavaScript.

While I may personally feel that JSON is a better format than XML, there are a implementations of XML-RPC for almost all languages and platforms which is a huge advantage.

Re:Show HN: WebRPC – a simple alternative to REST and SOAP by gk_brown on Wednesday October 21, 2015 @11:59AM (#10426321)
WebRPC is a lot lighter than XML-RPC (or JSON-RPC). It's really just a thin layer on top of HTTP. Arguments are passed in the query string (or as form parameters, if POSTing), and the response value is returned directly as JSON. There's no body or envelope to parse. This makes WebRPC services really easy to consume by any client that supports HTTP and JSON (which is pretty much most platforms). WebRPC services are also really easy to test, since you can execute a method and get the results back simply by typing a URL in your browser.