ESP8266 send data to server
Posted:
Fri Apr 02, 2021 11:32 am
by soham
Hello,
I am working on a project that transmits sensor data to the server through ESP8266. But in that, I am not allowed to use Arduino. Can anyone guide me that how can i send data to any server?
Re: ESP8266 send data to server
Posted:
Sun Apr 04, 2021 4:48 am
by Bonzo
What model of "ESP8266"?
"I am not allowed to use Arduino" Is that the Arduino code? If so you can use Lau, Micro python, and I believe also C directly.
There are probably other API's as well.
Re: ESP8266 send data to server
Posted:
Sat Apr 17, 2021 7:23 am
by timer_smx
you can refer details here:
http://sigmaprj.com/esp8266-http-client.htmlit explains sample how to send HTTP REST request to any server.. the similar approach can be taken for any data transmitted
Also worth looking into this project:
https://github.com/sigma-prj/esp-tcp-clientIt gives the sample how to transmit push-buttons state to server.