I am also doing the same thing on a local server. I am calling a PHP script using AT commands. I am doing it right from the serial monitor so, I have not developed a code for it. I am listing out the AT commands.

AT+CIPSTART="TCP","192.168.43.12",80
AT+CIPSEND=90
GET /pandeyji/post.php?sen1=p&sen2=q&sen3=r HTTP/1.0\r\nHost: 192.168.43.12:80\r\n\r\n\r\n

This only replies me with SEND OK. There's no problem with the PHP script or anything else. It's just something in the format I think.

share|improve this question
    
You are supposed to wait for > and send the carriage return and new line characters not backslashes, r and n characters. – gre_gor Mar 30 at 17:47
    
The host header should contain the port part (:80) – Gerben Mar 30 at 18:19
    
What you describe looks OK, what is your problem actually? Is it that your PHP code does not get called? Or is it that your Arduino code does not get the reply from your PHP code? The second situation is normal as you did not require the ESP8266 to receive stuff on the socket, after sending. – jfpoilpret Mar 30 at 21:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.