Endpoint factories accepts string as url