Re:If you have REST, why use XML-RPC?
by generalk on Thursday January 14, 2010 @01:17PM
(#1053177)
If I'm operating a Frobnitz service and my documentation doesn't indicate how to Blat a given Frobnitz, then the failing isn't my communication layer, it's my documentation.
[ Parent
| on HN ]
No! REST begs you not to have any separate documentation that is mandatory to understand your API.
The response from the Frobnitz resource should contain hypertext that indicates how to Blat it: at least the method and url.
Both are good! Documentation helps ease users in, while proper hyperlinks make the service discoverable.