知识卡片
查看响应历史排查交互
SHOW ALL查看完整交互,SHOW REQUEST检查发出的URL、方法、查询和体;SHOW METADATA或URL、STATUS、CONTENT-TYPE、HEADERS查看响应元信息。SHOW RESPONSE读取响应栈顶正文,POP、CLEAR和LEN管理保留的响应。先辨别请求构造与远端返回,避免只看正文而误判HTTP状态。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 附录D:HyperCLI操作参考 · 查看原书依据
DISPLAYǀSHOW Shows saved response (from top of the LIFO stack) .. ALL Returns the complete interaction (request, response metadata, response body) .. REQUEST Returns request info (URL, method, query string, body, and headers) .. METADATAǀMETA Returns the response metadata (URL, status, and headers) .. RESPONSEǀPEEK Returns response body from the top of the stack .. URLǀHREF Returns actual URL of the response .. STATUSǀSTATUS-CODE Returns HTTP status of the response .. CONTENT-TYPE Returns HTTP content-type of the response .. HEADERS Returns the complete HTTP header collection of the response .. POP Removes response from top of the stack .. CLEARǀFLUSH Removes all responses from the stack .. LENǀLENGTH Returns length of saved stack