postman 增加变量

postMan 的url 中可以这样填写,这样在不同的环境测试时,只需要修改host变量,而不用每个request 都修改。

添加变量的方式:

右键一个 collections 点 edit

postman 增加变量

 

在弹出的框中编辑  variables 即可:

postman 增加变量

相关文章:

  • 2022-12-23
  • 2021-06-09
  • 2021-04-10
  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2021-04-09
  • 2021-07-16
猜你喜欢
  • 2021-06-18
  • 2021-07-01
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
相关资源
相似解决方案