Rest – Difference between REST server and REST client

apiclientrestserver

I'm reading articles about REST including a tutorial. I've seen this site http://www.vogella.com/tutorials/REST/article.html, and there is a part for explaining the rest as:

In a REST based architecture, you have a REST server which provides access to the resources. A REST client can access and modify the REST resources.

Now I've searched what is the meaning of REST server and REST client but I could not find a good answer. Could someone explain them?

Best Answer

The server exposes the API and the client makes use of it.

For example, Twitter has data it wants to share (Tweets among other things), so it exposes an API which is served by a REST server (several, in all likelihood). You want to write a mobile app that uses that API to fetch and expose tweets to a user, your mobile app would be the REST client.

Related Topic