access training endpoint from client side
fix client side sending