Sending all data to server.