client side sends request