This is what you need, I use this to control http end point of nodemcu. Work within LAN.
The control is one way currently, no polling of response from http server.