linux

如何在Linux上配置Postman代理

小樊
40
2025-05-31 15:10:33
栏目: 智能运维

在Linux系统上配置Postman代理可以通过两种方式实现:通过系统代理设置和使用Postman Desktop Agent。以下是详细的步骤:

通过系统代理设置

  1. 设置系统代理环境变量
export http_proxy=http://your_proxy_server:port
export https_proxy=http://your_proxy_server:port

your_proxy_serverport替换为你的代理服务器的地址和端口。

source /.bashrc

source /.bash_profile
  1. 在Postman中配置代理

通过Postman Desktop Agent

  1. 安装Postman Desktop Agent(如果尚未安装):
  1. 启动Postman Desktop Agent
  1. 在Postman应用内设置代理

通过以上步骤,您可以在Linux系统下成功设置Postman的代理。如果需要取消代理设置,只需在Postman的设置页面将"HTTP Proxy"和"SSL Proxy"字段留空即可。

0
看了该问题的人还看了