ci rest serv example