using uri template expansion