Getting data from web page to the YUN

Good evening all. In working through the beginning samples of the Bridge section, I have studied and executed the Bridge sketch, datalogger, and the WebTemperaturePanel sketch. All these go along without a hitch. Also I found the Webled example.

Now my next concern is I not only need to input data through the index.html page,using data input and button onclick event, but also send int values back to the sketch to be able to interface properly with the type of devices I'm using. I don't know that the REST examples shown can accomplish what I need. I am too ignorant still.

From one of my other posts, one of the responders mentioned using a simple int variable on the sketch side, but not how to actually implement sending that input data from the web page.

If anyone can shed some light on this it would be greatly appreciated.

Thank you,
houdinihar

Take a look at Bridge example: it has digitalCommand and analogCommand functions that show how to parse input values
Then mix if with the TemperatureWebPanel example and you can make your own api with your own input variables

Thank you again Federico for your concise, helpful input. I will work on doing this this week.

houdinihar