在Linux下配置Postman代理主要有两种方法:
~/.bashrc
或~/.bash_profile
文件,在末尾添加export http_proxy=http://your_proxy_server:port
和export https_proxy=http://your_proxy_server:port
,将your_proxy_server
和port
替换为实际代理服务器地址和端口。source ~/.bashrc
或source ~/.bash_profile
使配置生效。Hostname
为localhost
,Port
为Agent实际端口,可设置排除规则,之后确保应用或浏览器指向Postman代理地址即可。