0

我已经尝试了 2 天来找到解决此 400 错误的方法。在我刚刚得到 408 之前,我设法解决了这个问题,现在我得到了 400。我通过串行监视器使用这些命令。Arduino Sketch 是空白的,每次我尝试使用 Serial.println 或使用“SoftwareSerial.h”自由编写代码时,我都会在串行监视器中打印,但我的 ESP8266 不响应代码

AT


OK
AT+RST


OK

 ets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x40100000, len 212, room 16 
tail 4
chksum 0x5e
load 0x3ffe8000, len 788, room 4 
tail 0
chksum 0x1c
load 0x3ffe8314, len 72, room 8 
tail 0
chksum 0x55
csum 0x55
jump to user1

ready
AT+CIPSTART="TCP","apexmorphs.co.uk",80


OK
Linked
AT+CIPSEND=70

> GET /inc/cron/tank.php?temp=30\r\n HTTP/1.0\r\n Host: apexmorphs.co.uk\r\n

busy s...

SEND OK

+IPD,187:HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>

OK

OK
Unlink
AT+CIPSTART="TCP","http://apexmorphs.co.uk",80

DNS Fail/r/nAT+CIPSTART="TCP","apexmorphs.co.uk",80


OK
Linked
AT+CIPSEND=77

> GET /inc/cron/tank.php?temp=30\r\n HTTP/1.0\r\n Host: http://apexmorphs.co.uk\r\n

busy s...

SEND OK

+IPD,187:HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>

OK

OK
Unlink
4

0 回答 0