重定向时查看邮递员请求

问题描述 投票:0回答:2

我正在使用 Postman 提交请求。服务器响应

HTTP/1.0 302 Found
Location: https://services.****.com/*/***/ed36317f-8d77-4d62-9926-f9700bee9b6c
Server: ****
Connection: Keep-Alive
Content-Length: 0

邮递员遵循此重定向。我希望在 Postman 控制台中看到这个新请求。有人可以告诉我如何查看 Postman 如何形成新请求吗?

postman
2个回答
103
投票

在设置

General
选项卡中,关闭
Automatically follow redirects

自动遵循重定向:防止返回 300 系列响应自动重定向。

来自 https://www.getpostman.com/docs/v6/postman/launching_postman/settings


4
投票

您可以在页脚中看到 Postman 如何遵循控制台中的重定向,如图所示:

© www.soinside.com 2019 - 2024. All rights reserved.