How do you send data from esp32 or esp8266 by wifi to mit app?

There is a lot of information about the ESP32/ESP8266 in this Community.