0
早上好,我想通過獲取esp8266發送數據,我有一個合格的帳戶在byethost,我也有一個託管帳戶支付與另一個託管服務提供商,但與byethost我得到以下錯誤:esp8266 byethost錯誤獲取請求
AT+CIPSTART="TCP","ahorrodeenergy.byethost17.com",80
AT+CIPSEND=67
GET /inserta.php HTTP/1.1
Host:ahorrodeenergy.byethost17.com/inserta.php"
+IPD,1080:HTTP/1.1 200 OK
Server: nginx
Date: Fri, 10 Mar 2017 01:30:09 GMT
Content-Type: text/html
Content-Length: 851
Connection: keep-alive
Vary: Accept-Encoding
Expires: THu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache
及收益:本網站需要JavaScript才能正常運行,請在瀏覽器中啓用JavaScript或使用瀏覽器的JavaScript支持
謝謝您的回答,讓我調查瞭解被髮送,並在試驗和錯誤,我發現基於標題的是,在頭一個Cookie發送: 字符串peticionHTTP =「GET /inserta.php?v=1&h= 2&f = 3 HTTP/1.1 \ r \ n「; peticionHTTP = peticionHTTP +「Host:ahorrodeenergy.byethost17.com \ r \ nCookie:__test = c466d348b92fd0afcc3f3944ede0bb47 \ r \ n \ r \ n」; –