oibdrew:
That's what I've been trying to get help with. How to write a code that will pass the info? What command tell the Mega to send the data to the ESP and what tells the ESP to send the data that it received?
The appropriate sequence of AT commands, which are documented and downloadable from the Espressif site. You can see them in action in a multitude of example and working sketches.