Now I want to send data from raspberrypi to wemos. What I have is a text box. If the user enters 1, a light bulb switches on and if he enters 0 it switches off. I created the HTML and javascript codes for this and stored it in my Raspberry Pi. Now how would and in what format should I send this data to my wemos?
Thank You.