Communicating between web application and android app

Hi, I am trying to develop an app that can communicate with a web application. The app works like the following:
I have an ipad access to a web application I made,(It’s just a very simple webpage) and three android devices are ready to response. The webpage contains a “click me” button and when user click on the button, the three android devices will response to the click and it will show a text “Button from web is clicked”.

In short, I am trying to make them have connection to each other. I understand that I need to read some documentation about UnityWebRequest or WWW. Other than that, is there any other keywords/knowledge I can search/learn before I start it.
Also, I have run through the following website but its kinda new to me. I am still a noob.

Any advice or recommendations will be highly appreciated.

Thank you.

I’m no expert, so maybe there’s a much easier way to do this. But if you want it to work no matter how and when the button is clicked (even if the Android devices are off when the button is clicked, for example) I think you have to use a database.

Your webpage would connect to the database, to indicate that the button has been clicked (you could also save the IP of the user, the time when the button was clicked…), and then make the android devices check this database in order to read the state of the button. The web request could simply read a .js, .php, etc., with access to that database, ready to return the type of information the android devices are expecting.

In any case, consider this just like a vague indication, because as I said, I’m new in Unity as well, so there are probably other ways to do this.

Good luck!