Event triggers webhook to another internal application?

Hello,

I’ve been looking for documentation about how to link an event to fire a webhook to a web app on my internal network. I’m trying to make a web app that would be listening for events from HA and update its page with the current state of a lock.

So the flow would be:
Lock opens or closes > HA sees event > triggers webhook > web app gets http post > updates the current state of the lock on my web app.