Adding rest point that get the state of a service