Re:Show HN: WebRPC – a simple alternative to REST and SOAP
by Morst on Wednesday October 21, 2015 @12:07PM
(#10426388)
We should not use HTTP for such things. It is against HTTPs intentions. Just use any other protocol.
[ Parent
| on HN ]
Re:Show HN: WebRPC – a simple alternative to REST and SOAP
by gk_brown on Wednesday October 21, 2015 @12:20PM
(#10426488)
If you are implementing a REST service, then I agree with you 100%. WebRPC is simply a different interpretation. In WebRPC, GET means "get the result of executing this method". POST basically means the same thing, but the arguments are passed in the message body (just like an HTML form).
The client libraries all use POST internally - GET is primarily useful for testing and debugging (so you can easily execute a method in the browser).