2017-04-21 106 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系統環境變量集。看起來像是一旦我刪除它並重新啓動郵遞員,它就在工作。