Example Rest Server and Client