gmc wrote:I want to rather send the requests to my own internal server (Which will log to MySQL)
But Apache server is not the same as EasyIoT server. EasyIoT server communicates to ESP with special protocol. If you want to use Apache server then you should implement similar protocol. The main point of EasyIoT server and EasyIoT library is that you do not need to implement low level functions, like AT commands, connections, SSL, data logging, user interface, because EasyIoT server and Arduino library cover that.
http://iot-playground.com/2-uncategorised/18-esp8266-wifi-leak-rain-soil-moisture-sensor
Sources code is available here:
https://github.com/iot-playground/Arduino/blob/master/Esp8266EasyIoT/examples/esp8266_leak/esp8266_leak.ino