背景

由于公司的swagger暂时有问题,所以需要用postman来请求接口,但是接口有cookie访问限制,所以无法使用,于是组长告诉我一个插件,happy,成功!

解决方案

1.首先在电脑上安装上postman应用程序
2.打开谷歌浏览器,安装插件-----Postman Interceptor
Postman中使用Postman Interceptor 发送带Cookie 的请求
3.在使用电脑上安装的postman的时候将Interceptor打开,如图所示:
Postman中使用Postman Interceptor 发送带Cookie 的请求
4.这是再测试项目的接口就OK啦!

总结

不断积累,砥砺前行~

相关文章:

  • 2021-03-26
  • 2022-01-13
  • 2021-05-19
  • 2021-04-21
  • 2021-11-03
  • 2021-05-18
猜你喜欢
  • 2021-06-15
  • 2022-01-08
  • 2021-05-23
  • 2021-07-12
  • 2021-09-14
  • 2021-05-01
相关资源
相似解决方案