关闭 postman的重定向

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

 

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

原文地址:https://www.cnblogs.com/banml/p/15138497.html