The built-in esp8266 module of Cactus Micro need to upgrade firmware for support HTTP post request. There’s a little buggy for send NEWLINE to remote server.
Upgrade the firmware for esp8266
- Download firmware ai-thinker-0.9.5.2-9600.bin.
- Change the serial port to hardware serial.
- Use USB to UART converter to upgrade firmware. You can also refer this link made Cactus Micro as ESP8266 programmer.
The default baud rate is 9600.
Test the new sketch
The new firmware has fix the bug for http post. Now upload the sketch httpPost for test http post request.