Added getbyurl method on Endpoint