Use service endpoints to discover url