我想使用sim800的POST方法将数据发送到服务器。当我使用POSTMAN时,数据已正确发送,但是当我在sim800中使用相同的POSTMAN标头时,会从服务器中删除错误,并且会收到以下消息:
HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Thu, 01 Nov 2018 21:48:40 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 5
Connection: keep-alive
Error
CLOSED
可能是什么问题?我在sim800中使用以下AT命令序列:
AT+CGATT=1
AT+CIPMUX=0
AT+CSTT="APN","USER","PASS"
AT+CIICR
AT+CIFSR
AT+CIPSHUT
AT+CIPSEND=20
POST /post HTTP/1.1
Host: **.**.***.***
Content-Type: application/json
Content-Length:23
{"postkey":"postvalue"}