CentOS上设置Postman代理主要有以下两种方法:
export http_proxy=http://your-proxy-host:port和export https_proxy=http://your-proxy-host:port,将your-proxy-host和port替换为实际代理服务器地址和端口,然后运行source ~/.bashrc或source ~/.bash_profile使环境变量生效。接着打开Postman,点击右上角设置图标,选择“Preferences”,在“General”标签下找到“Proxy”部分,在“HTTP Proxy”和“HTTPS Proxy”字段中输入代理服务器地址和端口,点击“Save”即可。