I need a sample program code (ARDIUNO IDE) for my ESP8266 programmer, I want to read data from temperature sensor and post that to my REST api website (i.e. www.mysite.com/api/postdata) in json or any format.
I will be very thankful if someone provide that along with diagram.
I am using
1) FT232RL - Programmer
2) ESP8266 - WiFI
3) DHT 11 - Temperature Sensor
4) ARDIUNO IDE - for programming