I try to download a file using AT command and esp8266 so I follow this steps :
1) AT+RST
ok
2)AT+CWJAP="SSID","password"
ok
3)AT+CIPSTART="TCP","www.anta.net",80
ok linked
4)AT+CIPSEND=70
>
5)GET / HTTP/1.1/r/n HOST: www.anta.net/r/n connection: close/r/n/r/n
SEND ok
+IPD,392:HTTP/1.1 400 Bad Request
Date: Wed, 10 Aug 2016 09:12:36 GMT
Server: Apache
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>
OK
I would like to know why it send me bad request or how I download a file using esp8266 and thanks.
It is problem with the /r/n ? because I think it should be \r\n
Looking at you post, it still /r/n ...