request

POST https://hdgateway.zto.com/WayBill_GetDetail HTTP/1.1
Host: hdgateway.zto.com
Connection: keep-alive
Content-Length: 21
Accept: */*
Origin: https://www.zto.com
x-token: null
x-clientCode: pc
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.zto.com/express/expressCheck.html  请求首部字段,图解http第116页
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7

billCode=542430453744

response

HTTP/1.1 200
Date: Fri, 22 Feb 2019 06:59:46 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 5532
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
X-Application-Context: application:prd
ETag: 4QJ/8qAH6stIMn08lNbGG+g8
Age: 0
Via: HTTPS/1.1 sasygsha01prx11.asnet.accorservices.net

{"result":{"prescriptionStatus":3,"logisticsRecord":[[{"date":"2019-02-22","country":"China","internationalPieces":{"optReasonEn":"Physical delivery scheduled.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":true},"signMan":"","operateUserPhone":"13381883326","scanDate":"2019-02-22 08:26:11","scanSite":{"isCenter":false,"code":"02180","province":"上海","phone":"021-56420176、021-56420171","city":"上海市","name":"闸北天目西路","prov":"上海"},"sendPiecesNum":1,"operateUser":"吕经全","isSendNoCome":true,"scanType":"派件","stateDescription":"【上海市】 快件已到达 【闸北天目西路】(021-56420176、021-56420171),业务员 吕经全(13381883326) 正在第1次派件, 请保持电话畅通,并耐心等待","upOrDownSiteInfo":null,"problemItemDescription":""}],[{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13524835366","scanDate":"2019-02-21 20:38:47","scanSite":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"sendPiecesNum":0,"operateUser":"上海进港02","isSendNoCome":false,"scanType":"发件","stateDescription":"【上海市】 快件离开 【上海】 已发往 【闸北天目西路】","upOrDownSiteInfo":{"isCenter":false,"code":"02180","province":"上海","phone":"021-56420176、021-56420171","city":"上海市","name":"闸北天目西路","prov":"上海"},"problemItemDescription":""},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"","scanDate":"2019-02-21 20:22:54","scanSite":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"sendPiecesNum":0,"operateUser":"null","isSendNoCome":false,"scanType":"到件","stateDescription":"【上海市】 快件已经到达 【上海】","upOrDownSiteInfo":null,"problemItemDescription":""},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18617314256","scanDate":"2019-02-21 01:00:06","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","phone":"027-83298519、027-83295538","city":"武汉市","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"田磊","isSendNoCome":false,"scanType":"发件","stateDescription":"【武汉市】 快件离开 【武汉中转部】 已发往 【上海】","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"problemItemDescription":""},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18627126252","scanDate":"2019-02-21 00:58:37","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","phone":"027-83298519、027-83295538","city":"武汉市","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"动态称7","isSendNoCome":false,"scanType":"到件","stateDescription":"【武汉市】 快件已经到达 【武汉中转部】","upOrDownSiteInfo":{"isCenter":false,"code":"02726","province":"湖北省","phone":"027-87023889、027-87020166、027-87023033","city":"武汉市","name":"江夏","prov":"湖北省"},"problemItemDescription":""}],[{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"15337186760","scanDate":"2019-02-20 22:28:46","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","phone":"027-87023889、027-87020166、027-87023033","city":"武汉市","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"江夏","isSendNoCome":false,"scanType":"发件","stateDescription":"【武汉市】 快件离开 【江夏】 已发往 【上海】","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","phone":"021-60380820","city":"上海市","name":"上海","prov":"上海"},"problemItemDescription":""},{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Parcel scanned by site.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13600500903","scanDate":"2019-02-20 17:12:27","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","phone":"027-87023889、027-87020166、027-87023033","city":"武汉市","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"operateUser":"李宁","isSendNoCome":false,"scanType":"收件","stateDescription":"【武汉市】 【江夏】(027-87023889、027-87020166、027-87023033) 的 李宁 (13600500903) 已揽收","upOrDownSiteInfo":null,"problemItemDescription":""}]],"billPrescription":"1天15小时","billCode":"542430453744"},"message":"快递信息查询成功","statusCode":null,"status":true}

工具调用

使用Fiddler

request

POST https://hdgateway.zto.com/WayBill_GetDetail HTTP/1.1
Host: hdgateway.zto.com
Content-Length: 21
Content-Type: application/x-www-form-urlencoded

billCode=542430453744

response

HTTP/1.1 200
Date: Fri, 22 Feb 2019 07:41:52 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 5532
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
X-Application-Context: application:prd
ETag: 46QEa6IpWQRLV3MH87jRXhA8
Age: 0
Via: HTTPS/1.1 sasygsha01prx11.asnet.accorservices.net

{"result":{"prescriptionStatus":3,"logisticsRecord":[[{"date":"2019-02-22","country":"China","internationalPieces":{"optReasonEn":"Physical delivery scheduled.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":true},"signMan":"","operateUserPhone":"13381883326","scanDate":"2019-02-22 08:26:11","scanSite":{"isCenter":false,"code":"02180","province":"上海","city":"上海市","phone":"021-56420176、021-56420171","name":"闸北天目西路","prov":"上海"},"sendPiecesNum":1,"isSendNoCome":true,"operateUser":"吕经全","stateDescription":"【上海市】 快件已到达 【闸北天目西路】(021-56420176、021-56420171),业务员 吕经全(13381883326) 正在第1次派件, 请保持电话畅通,并耐心等待","scanType":"派件","problemItemDescription":"","upOrDownSiteInfo":null}],[{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13524835366","scanDate":"2019-02-21 20:38:47","scanSite":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"上海进港02","stateDescription":"【上海市】 快件离开 【上海】 已发往 【闸北天目西路】","scanType":"发件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02180","province":"上海","city":"上海市","phone":"021-56420176、021-56420171","name":"闸北天目西路","prov":"上海"}},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"","scanDate":"2019-02-21 20:22:54","scanSite":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"null","stateDescription":"【上海市】 快件已经到达 【上海】","scanType":"到件","problemItemDescription":"","upOrDownSiteInfo":null},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18617314256","scanDate":"2019-02-21 01:00:06","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","city":"武汉市","phone":"027-83298519、027-83295538","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"田磊","stateDescription":"【武汉市】 快件离开 【武汉中转部】 已发往 【上海】","scanType":"发件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"}},{"date":"2019-02-21","country":"China","internationalPieces":{"optReasonEn":"Arrival at inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"18627126252","scanDate":"2019-02-21 00:58:37","scanSite":{"isCenter":true,"code":"02700","province":"湖北省","city":"武汉市","phone":"027-83298519、027-83295538","name":"武汉中转部","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"动态称7","stateDescription":"【武汉市】 快件已经到达 【武汉中转部】","scanType":"到件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02726","province":"湖北省","city":"武汉市","phone":"027-87023889、027-87020166、027-87023033","name":"江夏","prov":"湖北省"}}],[{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Departure from inward office of exchange.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"15337186760","scanDate":"2019-02-20 22:28:46","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","city":"武汉市","phone":"027-87023889、027-87020166、027-87023033","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"江夏","stateDescription":"【武汉市】 快件离开 【江夏】 已发往 【上海】","scanType":"发件","problemItemDescription":"","upOrDownSiteInfo":{"isCenter":false,"code":"02100","province":"上海","city":"上海市","phone":"021-60380820","name":"上海","prov":"上海"}},{"date":"2019-02-20","country":"China","internationalPieces":{"optReasonEn":"Parcel scanned by site.","isExport":null,"siteName":null,"optReason":null,"dispCount":1,"dispNoCome":false},"signMan":"","operateUserPhone":"13600500903","scanDate":"2019-02-20 17:12:27","scanSite":{"isCenter":false,"code":"02726","province":"湖北省","city":"武汉市","phone":"027-87023889、027-87020166、027-87023033","name":"江夏","prov":"湖北省"},"sendPiecesNum":0,"isSendNoCome":false,"operateUser":"李宁","stateDescription":"【武汉市】 【江夏】(027-87023889、027-87020166、027-87023033) 的 李宁 (13600500903) 已揽收","scanType":"收件","problemItemDescription":"","upOrDownSiteInfo":null}]],"billPrescription":"1天15小时","billCode":"542430453744"},"message":"快递信息查询成功","statusCode":null,"status":true}

使用Postman

中通快递单api查询的更多相关文章

  1. ajax实现快递单号查询

    效果:(代码写的有点乱,自行修改就可以了) 源码: index.php <!DOCTYPE html> <html lang="en"> <head& ...

  2. ECSHOP和SHOPEX快递单号查询中通插件V8.6专版

    发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...

  3. 快递单号查询免费api接口(PHP示例)

    快递单号查询API,可以对接顺丰快递查询,邮政快递查询,中通快递查询等.这些快递物流企业,提供了快递单号自动识别接口,快递单号查询接口等快递物流服务.对于电商企业,ERP服务企业,集成此接口到自己的软 ...

  4. ECSHOP和SHOPEX快递单号查询申通插件V8.6专版

    发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...

  5. excel快递单号查询工具以及源码

    Function kdcx(kd, orderid) Dim Err, url, kdtime, link, Errcode, Status Select Case kd '此处支持的快递公司很多的 ...

  6. ECSHOP和SHOPEX快递单号查询百世快递插件V8.6专版

    发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...

  7. ECSHOP和SHOPEX快递单号查询顺丰插件V8.6专版

    发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...

  8. ECSHOP和SHOPEX快递单号查询韵达插件V8.6专版

    发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...

  9. ECSHOP和SHOPEX快递单号查询国际EMS插件V8.6专版

    发布ECSHOP说明: ECSHOP快递物流单号查询插件特色 本ECSHOP快递物流单号跟踪插件提供国内外近2000家快递物流订单单号查询服务例如申通快递.顺丰快递.圆通快递.EMS快递.汇通快递.宅 ...

随机推荐

  1. Excel 2010 对号叉号怎么打出来

    按小键盘数字键:Alt+41420  对号 按小键盘数字键:Alt+41642  叉号 http://jingyan.baidu.com/article/fdbd4277c228cdb89e3f482 ...

  2. MS17-010永恒之蓝验证

    一.安装MSF,windows下安装也可以,直接安装kali也可以,我是kali是攻击主机,win7是靶机,都在虚拟机里. 1.windows下安装MSF请参考:http://blog.csdn.ne ...

  3. [SQL] sql server中如何查看执行效率不高的语句

    sql server中,如果想知道有哪些语句是执行效率不高的,应该如何查看呢?下面就将为您介绍sql server中如何查看执行效率不高的语句,供您参考.在测量功能时,先以下命令清除sql serve ...

  4. 模拟退火算法A Star not a Tree?(poj2420)

    http://write.blog.csdn.net/postedit A Star not a Tree? Time Limit: 1000MS   Memory Limit: 65536K Tot ...

  5. Spring MVC 框架学习

    一.spirng的简介 Spring是一个开源框架,它由Rod Johnson创建.它是为了解决企业应用开发的复杂性而创建的.Spring使用基本的JavaBean来完成以前只可能由EJB完成的事情. ...

  6. postgresql----ANY/SOME&&ALL

    一.ANY/SOME WHERE expression operator ANY (subquery)WHERE expression operator SOME (subquery) 其实ANY和S ...

  7. MySQL集群简介与配置详解

    1. 先了解一下你是否应该用MySQL集群. 减少数据中心结点压力和大数据量处理,采用把MySQL分布,一个或多个application对应一个MySQL数据库.把几个MySQL数据库公用的数据做出共 ...

  8. HDU 4597 Play Game(DFS,区间DP)

    Play Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Sub ...

  9. Ora-1157 ora-1110错误解决案例一枚

    1.数据库打开报错如下: SQL> alter database open; alter database open * ERROR at line 1: ORA-01157: cannot i ...

  10. 分区默认segment大小变化(64k—>8M)

    _partition_large_extents和_index_partition_large_extents 参考: http://www.xifenfei.com/2013/08/%E5%88%8 ...