use client endpoint when sending response