Newbee question

I have two YUN's. Can someone provide code on how to make them communicate with each other ad hoc (using their AP)

TIA vince

First they must be in the same network, so at least 1 is AP the other is a client connected to that AP. Then you can use the REST api, just like you do with TemperatureWebPanel example