REST server adapted for client