TCP Client ISSUES (GET REQUEST)
Posted: Wed Mar 29, 2017 12:07 pm
Using PUTTY,when i send GET request from ESP8266 i m always getting reply as 400 bad request.Here is my AT commands.PLEASE HELP.
AT+CIPMUX=1
AT+CWJAP="arun","arun1234"
AT+CIPSTART=4,"TCP","54.251.98.159",80
AT+CIPSEND=4,68
GET /testurl/sample.php?deviceid=5444541 HTTP/1.1Host: 54.251.98.159
After sending this GET request reply as 400 BAD request.
AT+CIPMUX=1
AT+CWJAP="arun","arun1234"
AT+CIPSTART=4,"TCP","54.251.98.159",80
AT+CIPSEND=4,68
GET /testurl/sample.php?deviceid=5444541 HTTP/1.1Host: 54.251.98.159
After sending this GET request reply as 400 BAD request.