to check the restful services