在用postman请求接口时,如果接口重定向到其它url,postman也会自动跳转到该url。如果想看到这个url,需要关闭自动重定向功能:

关闭 postman的重定向

 

 

 

打开右上角的Settings设置界面,关闭Automatically follow redirects即可。
再次请求,不会自动跳转,在响应头的Location中看到重定向的url。

 

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2021-09-07
  • 2021-04-22
  • 2021-12-11
  • 2021-07-17
猜你喜欢
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-15
  • 2021-09-16
  • 2022-12-23
  • 2021-11-12
相关资源
相似解决方案