Canonize endpoint for sp client