2017-04-21 47 views
0

我想在使用邮差的本地托管Tomcat服务器上调用端点。但是,当我拨打电话时:通过代理连接到本地主机重定向

localhost:9000/api/postMethod 

它通过公司代理重定向我的请求。

我在邮差中看不到任何选项,我试图删除Internet选项中的代理设置,但问题仍然存在。

当我看邮递员控制台,我看到下面。为什么它向本地主机发送代理授权和代理连接?

Request Headers: 
cache-control:"no-cache" 
Postman-Token:"{token}" 
User-Agent:"PostmanRuntime/3.0.11-hotfix.2" 
Accept:"*/*" 
accept-encoding:"gzip, deflate" 
proxy-authorization:"Basic {auth}" 
referer:"http://localhost:9000/api/postMethod" 

Response Headers: 
cache-control:"no-cache" 
connection:"Keep-Alive" 
content-length:"8063" 
content-type:"text/html; charset=utf-8" 
pragma:"no-cache" 
proxy-connection:"Keep-Alive" 

回答

0

我有我的http_proxy系统环境变量集。看起来像是一旦我删除它并重新启动邮递员,它就在工作。

相关问题