Just found your site. Nice stuff. I have a bunch of ESP32 code running nicely with BLE, WIFI, MQTT and the AP mode (the Web server). And I have iOS apps that configure via BLE.
Using the WIFI_Webserver, all my code has been generated as a web site via print statements from the ESP. Then the web server serves that page via HTML. When done (say entering WIFI credentials) - there is a "submit" back to the webserver. Kinda heavy weight.
But looking at the XMLHttpRequest approach (which I use in web apps) - it seems I could be communicating directly with the ESP32. I need to see if that will fit into my existing web server.
What I really need is information about the ESP attempts to do things - especially connecting to WIFI and then MQTT. Our clients have issues and without a serial monitor I cannot debug easily over the phone. So I thought to at least show some debug info in web page served. With XMLHttpRequest, I could ask more questions of the ESP like all the EPROM values or other info.
We are using these for a remote dog feeding device with ESP embedded and M5 and others as well.
Thanks, I'll try something like that.
-scott