Problems with GET Request to Insert a Value into MYSQL DB
Posted: Sat Sep 05, 2015 8:53 am
Good afternoon, I'm trying to make my esp8266 comunicate with a local webpage sending a php parameter via get request.
So, in my computer I have a wamp server at port 80 and a local website that receives a parameter and saves it in a mysql DB.
My server IP is 192.168.1.132 and to access the page by browser and send the php parameter I use the link:
http://192.168.1.132/House_Temps/sender.php?num=25
In the arduino, at serial 9600, I can connect to wifi and to server but my Get request seems to doesnt work.
The commands that I have used after connect to wifi are:
AT+CIPSTART="TCP","192.168.1.132",80 --> Connect to server.
AT+CIPSEND=55
> GET 192.168.1.132/House_Temps/sender.php?num=9 HTTP/1.1
Arduino just returns:
busy s
ok
The problem is that the value passed doesn't appear in the DataBase.
Can anyone tell me what am i doing wrong?
The DB, php, HTML, parts of the Project are working fine, I've already test it.
I would appreciate a lot to have some help!
Sorry for my bad english!
So, in my computer I have a wamp server at port 80 and a local website that receives a parameter and saves it in a mysql DB.
My server IP is 192.168.1.132 and to access the page by browser and send the php parameter I use the link:
http://192.168.1.132/House_Temps/sender.php?num=25
In the arduino, at serial 9600, I can connect to wifi and to server but my Get request seems to doesnt work.
The commands that I have used after connect to wifi are:
AT+CIPSTART="TCP","192.168.1.132",80 --> Connect to server.
AT+CIPSEND=55
> GET 192.168.1.132/House_Temps/sender.php?num=9 HTTP/1.1
Arduino just returns:
busy s
ok
The problem is that the value passed doesn't appear in the DataBase.
Can anyone tell me what am i doing wrong?
The DB, php, HTML, parts of the Project are working fine, I've already test it.
I would appreciate a lot to have some help!
Sorry for my bad english!