Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By dgo_perez
#30313 Hi!

I'm trying to send data from an Arduino UNO to a database through the ESP8266, but I don' understand at all the syntax of the GET request. I just wanna fill the database every certain time using AT commands. I'm using XAMPP btw. I really appreciate any help from u guys. Thanks.
User avatar
By eduperez
#30330
dgo_perez wrote:Hi!

I'm trying to send data from an Arduino UNO to a database through the ESP8266, but I don' understand at all the syntax of the GET request. I just wanna fill the database every certain time using AT commands. I'm using XAMPP btw. I really appreciate any help from u guys. Thanks.


You first need to create the database where you will store the data, and a PHP script to insert data into that database, so you can insert the data from a browser. How far have you managed to go?
User avatar
By Asadujjaman
#30378
dgo_perez wrote:Hi!

I'm trying to send data from an Arduino UNO to a database through the ESP8266, but I don' understand at all the syntax of the GET request. I just wanna fill the database every certain time using AT commands. I'm using XAMPP btw. I really appreciate any help from u guys. Thanks.


I think you should use POST request, but I don't know how to use XAMPP for ESP8266, what I understand is you need to open a web server where you can create your database and store data through AT command. But the problem is I could not send data from arduino ide through AT command. (still trying) It always shows 400bad request. But today i used a different IDE which is "RealTerm" and using this ide i can able to send data to my web server. But for this I need to change my AT firmware version (ESP8266_AT_V00180902_04 (0018000902-AI03)_unconfirm version).

follow those link i think will get some idea;
1. http://www.rei-labs.net/esp8266-connecting-to-internet/
2. https://room-15.github.io/blog/2015/03/ ... reference/
3. http://blog.huntgang.com/2015/01/20/ard ... r-example/
4. https://www.youtube.com/watch?v=q02f4sPghSo
5. https://www.youtube.com/watch?v=uznq8W9 ... O8&index=1
in last link you will get idea about GET/POST request