add method to send data to url