Postman开发者模式

2025-05-05 04:34:34

使用环境变量可以方便的在开发和测试环境进行切换。

Postman开发者模式

工具/原料

Postman 下载:https://pan.baidu.com/s/1eSmqNTo

Postman系列第三篇

环境变量

1、点击环境管理按钮添加环境

Postman开发者模式
Postman开发者模式

2、通常会有开发和测试两个环境,分别添加相应的环境变量。

Postman开发者模式
Postman开发者模式
Postman开发者模式

3、使用环境变量

Postman开发者模式
Postman开发者模式

4、查看和编辑环境变量

Postman开发者模式

Postman console

1、通过`Alt + Ctrl + C`快捷键或通过菜单启动`Postman console`

Postman开发者模式
Postman开发者模式

2、启动`Postman console`以后,新的请求响应内容将在`console`内显示

Postman开发者模式

3、可通过调用`console.log`函数在`console`中显示测试信息和测试数据

Postman开发者模式
Postman开发者模式

DevTools

1、用法同`Chrome`下的开发者工具

Postman开发者模式
Postman开发者模式
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
相关推荐
  • 阅读量:53
  • 阅读量:54
  • 阅读量:50
  • 阅读量:79
  • 阅读量:69
  • 猜你喜欢