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
if you want to send data from ESP to web then it should not be difficult, here is one example code where data is sent to local host using ESP.
send data to local host using ESP
So if it can be sent to local host, you can also send to remote website.
Or if you can use Arduino then it will be comparatively easy to send data to web, like many people has used ThingSpeak, where they can send data using ESP and Arduino.
The administrator has disabled public write access.