美文网首页
Day 68/100 HTTP 常用的报头

Day 68/100 HTTP 常用的报头

作者: 赵国星 | 来源:发表于2020-11-24 23:44 被阅读0次

    写在前面

    重启下

    希望可以每天进步一点点~

    (一)Request URL

    Request URL:

    https://cloud.tencent.com/developer/services/ajax/column/article?action=BatchCheckArticlesFavor

    Request Method:POST

    Status Code:200

    Remote Address:111.230.126.55:443

    Response Header

    content-length: 31

    content-type:application/json; charset=utf-8

    date:Tue, 22 Sep 2020 08:38:18 GMT

    etag:W/"1f-npq5x6RTpeBtF64hk5Jq0/FODZI"

    server:nginx

    status:200

    (二)Request Header

    Request Header

    :authority: cloud.tencent.com

    :method:POST

    :path:/developer/services/ajax/column/article?action=BatchCheckArticlesLike

    :scheme:https

    accept:application/json, text/plain, */*

    accept-encoding:gzip, deflate, br

    accept-language:zh-CN,zh;q=0.9,zh-TW;q=0.8,en-US;q=0.7,en;q=0.6

    content-length:70

    content-type:application/json;charset=UTF-8

    常考的还有请求的状态码,比如301和302的区别等;

    参考链接

    报头的解释可以看点击链接查看~

    https://www.cnblogs.com/xflonga/p/9384010.html

    相关文章

      网友评论

          本文标题:Day 68/100 HTTP 常用的报头

          本文链接:https://www.haomeiwen.com/subject/cscgiktx.html