You can communicate from the Desktop app with a URLConnection to your Web App.
The Web App would receive the message via the HandleURL event.
Example Projects/Web/WebService-HandleURL.xojo_binary_project
shows how to capture things in the HandleURL event.
Example Projects/Communication/Internet/URLConnection/
has examples for using URLConnection.
However, this thread: