关闭 postman的重定向

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

 

 

 

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

 

posted @ 2021-08-13 17:46  测试一枚  阅读(4558)  评论(0编辑  收藏  举报