I've made a simple project that uses Websocket to exchange data between ESP32 and a Web page. You can push data from the Web page to the ESP32 and vice versa.
This is the link: https://www.survivingwithandroid.com/es ... latformio/
Let me know your options!