這是我發送的
GET http://utf8.sms.webchinese.cn/?Uid=dpuser&Key=123456789abcdef&smsMob=手機號&smsText=valid code is:[595375]. HTTP/1.1
Host: 219.235.3.148:80
Content-Type: text/xml;charset=utf-8
Content-length: 0
下面是接收到的
resp_buf1:HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 20 Aug 2015 01:21:13 GMT
Connection: close
Content-Length: 311
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
HTTP Error 400. The request is badly formed.
len:216
aaa
errno=0
bbb
resp_buf1:HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Da
我訪問 http://utf8.sms.webchinese.cn/?Uid=dpuser&Key=123456789abcdef&smsMob=手機號&smsText=valid 並不是bad request啊。
所以你的問題是為什麼會返回400?請問你的平台是?