Response 数据显示模式

Postman 对于返回的 Response 数据,支持三种显示模式。

  • 默认格式化后的 Pretty 模式

Postman第五篇:Response 深入

  • Raw 原始模式

点击Raw,可以查看到返回的没有格式化之前的原始数据:

Postman第五篇:Response 深入

  • Preview 预览模式

以及 Preview,是对应 Raw 原始格式的预览模式:

Postman第五篇:Response 深入

Preview 这种模式的显示效果,好像是对于返回的是 html 页面这类,才比较有效果。

 

Response 的 Cookies

很多时候普通的 API 调用,倒是没有 Cookie 的:

Postman第五篇:Response 深入

 

Response 的 Headers 头信息

举例,此处返回的是有 Headers 头信息的:

Postman第五篇:Response 深入

可以从中看到服务器是 Nginx 的。

相关文章:

  • 2022-12-23
  • 2021-07-05
  • 2021-07-26
  • 2022-12-23
  • 2021-09-15
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2021-07-29
  • 2021-12-04
  • 2022-01-04
相关资源
相似解决方案