Wiring in the rest client