Display door status on browser

I have a reed switch successfully triggering a ‘Door open’ or Door closed’ message on the Unicorn Hat.

I’d like the same result on an Intranet - no need for it to be on the WWW.

I’ve got a web-server running on the Pi, I just need some pointers with the code required, please.

Thank you! :)