Before getting into the details of REST, let's look at an example. With a client—in this case, a web browser—and a server, the client sends a request to the server over HTTP for some models, as follows:
The server will then respond with a document containing all the models, as follows:
The client can then modify the data on the server through a PUT HTTP request, as follows:
Then, the server will respond that ...