GET problem
Posted: Fri May 08, 2015 11:37 am
dear all,
I'm trying to connect a module to a server (website) and send a GET to run a php process ... but I'm not able to do this.
AT+GMR answer .... AT version:0.21.0.0 SDK version:0.9.5
AT+CWLAP
AT+CWJAP="mynetwork","mypass" is OK
AT+CIPMUX=1
AT+CIPSTART=4,"TCP","www.myIPnumber.it",80 connection is OK
AT+CIPSEND=4,29 after >
GET /i.php?A=10&B=12 HTTP/1.0 I call i.php file and send values A and B
the answer from module is:
SEND OK
+IPD,4,149:HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Fri, 08 May 2015 16:27:28 GMT
Connection: close
Content-Length: 20
<h1>Bad Request</h1>4,CLOSED
______________________________________
Where I wrong?
Thanks for reply
roberto
I'm trying to connect a module to a server (website) and send a GET to run a php process ... but I'm not able to do this.
AT+GMR answer .... AT version:0.21.0.0 SDK version:0.9.5
AT+CWLAP
AT+CWJAP="mynetwork","mypass" is OK
AT+CIPMUX=1
AT+CIPSTART=4,"TCP","www.myIPnumber.it",80 connection is OK
AT+CIPSEND=4,29 after >
GET /i.php?A=10&B=12 HTTP/1.0 I call i.php file and send values A and B
the answer from module is:
SEND OK
+IPD,4,149:HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Fri, 08 May 2015 16:27:28 GMT
Connection: close
Content-Length: 20
<h1>Bad Request</h1>4,CLOSED
______________________________________
Where I wrong?
Thanks for reply
roberto