How to publish sensor data on a webpage?

Hello all,

I'm new here at this forum. Recently I've found an arduino uno wifi developers edition on my attic.
I never got the opportunity to use it, untill now.

Now I want to use this arduino to check if the light on the attic is switched on or off.
I already have written the code to check this.

But now I also want this sensor value published on a webpage/google sheets/whatever....
I've configured the Arduino so it has a connection with our wifi network.
I've also downloaded the Arduino Uno Wifi dev ed library & tried the examples, but nothing seems to work.

Can anyone help me by telling which example/libraries I have to use?

Thx!
Olivier

For instance you can make HTTP POST or GET request to send datas to your webpage. Webpage will run PHP code that will parse these datas from request and it will be able to save them to MySQL database.

Another popular protocol is MQTT. It has been designed for small sensor data and is well supported by Arduino, Raspberry Pi, on your PC and Mac as well as cloud solutions.

The below page shows a couple of ways using html to make web pages that automatically refresh data in them

http://www.martyncurrey.com/esp8266-and-the-arduino-ide-part-8-auto-update-webpage/