So, the Wifi module is a webserver in itself? Otherwise it is not possible. Really, this is not an AI problem. AI can act as a webclient, and send requests to a webserver. This is the way HTTP works, always client to server. So, maybe it is possible, but you have to find out yourself, by looking at what the microcontroller can do.
Cheers, Ghica.