3,解析移远-BG95-HTTP

测试BG95用HTTP Get,访问网址:http://www.example.com/

发→◇AT+CSQ
收←◆AT+CSQ
+CSQ: 31,99

OK

发→◇AT+QHTTPCFG="contextid",1 
收←◆AT+QHTTPCFG="contextid",1 
OK

发→◇AT+QHTTPCFG="responseheader",1
收←◆AT+QHTTPCFG="responseheader",1
OK

发→◇AT+QIACT?
收←◆AT+QIACT?
OK

发→◇AT+QICSGP=1,1,"UNINET","","",1 
收←◆AT+QICSGP=1,1,"UNINET","","",1 
OK

发→◇AT+QIACT=1
收←◆AT+QIACT=1
OK

发→◇AT+QIACT?
收←◆AT+QIACT?
+QIACT: 1,1,1,"10.65.247.138"

OK

发→◇AT+QHTTPURL=23,80
收←◆AT+QHTTPURL=23,80
CONNECT
收←◆AT+QHTTPURL=23,80
CONNECT

发→◇http://www.example.com/

发→◇AT+QHTTPGET=80
收←◆AT+QHTTPGET=80
OK

收←◆+QHTTPGET: 0,200,1256

发→◇AT+QHTTPREAD=80
收←◆AT+QHTTPREAD=80
CONNECT
HTTP/1.1 200 OK
Age: 413740
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Sun, 03 Apr 2022 02:57:23 GMT
Etag: "3147526947+ident"
Expires: Sun, 10 Apr 2022 02:57:23 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (sab/5697)
Vary: Accept-Encoding
X-Cache: HIT
Content-Length: 1256

<!doctype html>
<html>
<head>
    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style type="text/css">
    body {
        background-color: #f0f0f2;
        margin: 0;
        padding: 0;
        font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        
    }
    div {
        width: 600px;
        margin: 5em auto;
        padding: 2em;
        background-color: #fdfdff;
        border-radius: 0.5em;
        box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);
    }
    a:link, a:visited {
        color: #38488f;
        text-decoration: none;
    }
    @media (max-width: 700px) {
        div {
            margin: 0 auto;
            width: auto;
        }
    }
    </style>    
</head>

<body>
<div>
    <h1>Example Domain</h1>
    <p>This domain is for use in illustrative examples in documents. You may use this
    domain in literature without prior coordination or asking for permission.</p>
    <p><a href="https://www.iana.org/domains/example">More information...</a></p>
</div>
</body>
</html>

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值