好吧,
我从我的localhost点击一个简单的PhoneVerify请求,该请求有企业代理。
我已使用以下链接配置了我的代理设置。
Can't access to production endpoint with WSO2 API Manager - entreprise proxy
但我得到相同的响应代码0和空白响应主体。
这是curl和Request URL:
卷曲
curl -X GET --header "Accept: application/json" --header "Authorization: Bearer b9d93ac569bec1721716e1422b852b" "https://192.168.78.153:8244/phone/1.0.0/CheckPhoneNumber?PhoneNumber=8888888888&LicenseKey=0"
请求网址
https://192.168.78.153:8244/phone/1.0.0/CheckPhoneNumber?PhoneNumber=8888888888&LicenseKey=0
回复正文
没有内容
响应代码
0
响应标头
{
"error": "no response from server"
}
[base url:/phone/1.0.0,api version:1.0.0]
答案 0 :(得分:0)
由于您位于通过http.proxyPort
设置端口的代理服务器后面,因此您必须使用端口1234而不是8244。