REST is an architecture for web APIs with client-server architecture. SOAP is a protocol for web APIs that is programming style agnostic and extensible. RPC uses various parameters to produce one expected result. SON-RPC and XML-RPC, merely indicate the type of encoding they use.