parse data and send request