I know that Flickr provides ways to work with XML-RPC and REST.
There are standard XML-RPC libraries for each language (for example, Python has a built-in xmlrpclib ).
The standard XML-RPC libraries perform serialization / deserialization, as well as sending / receiving responses.
It seems to me that websites that use the REST style for the same API will eventually write their own libraries in each language. Example: Yahoo! Search SDK.
It seems to me that the XML-RPC method is better, but all the evidence is opposite. Why?
So:
- Why are most web services in REST style rather than XML-RPC?
- Are there any flaws in XML-RPC that are not obvious?
source share