What are REST web services and what is the reason for its popularity?
The resource which is denoted by the REST based service must be represented completely in a single self-contained message. This enables a stateless message protocol where a back and forth communication is not required. Every message request is for a single resource and the reply is the complete resource and the session is deemed complete with the reply.
This is in contrast with a conversational or chatty message protocol such as a dedicated long running session between a client and the server in a traditional client server architecture. Here the communication protocol is kept live after the first round of message exchange and the server is kept aware of the state of the client.
An example of a resource request (details of employee with ID=5555) would look something similar to what is given in the diagram.
The response might look as given in the diagram (XML format and showing just the HTTP response body). So an employee record for a particular employee is a single resource which is being fetched.