Can i pass the data from arduino mega to arduino Yun ?

thank you mike !

Cause due to my project requirement , we want it to power up with power socket and not through computer usb port !
that's what we need the arduino yun wireless feature to store data into server site! anyway is it even possible ?