I'm experimenting with the nodeMCU board attempting to proto type out an IoT project. My first iteration involved using an MQTT broker to send messages between my computer and the board. Due to the fact that the messages have to bounce from the terminal to the broker to the ESP8266, I'm finding that the latency is too high.
I'm wondering what the alternative methods of sending messages are that don't involve a broker or high latency (my messages are being sent in JSON format). From what I understand about MQTT, I cant put the ESP8266 in AP mode and use MQTT.
One alternative I think is to put the device in AP mode and create a simple restful interface, but while I have seen sample code for serving a web page, I can't seem to find any examples of a restful interface on the ESP8266. For the record, I'm programming it using the Arduino IDE.