REST vs RPC
REST
REST stands for Representational State Transfer.
Consider the case that you are maintaining a blog and posts on the server. Now lets understand REST.
The fundamental philosophy behind REST is that clients should communicate with servers through stateless connections, where:
Long term state is kept on the server side by maintaining a set of identifiable resources ( posts and comments in our blog case) The client can access these resources (perform CRUD operations on them) through a highly limited but uniform interface (a set of URLs in our blog case).
[Read More]