a REST server and a client