簡體   English   中英

嘗試通過企業代理連接時在API管理器wso2中獲取響應代碼0

[英]Getting Response code 0 in API manager wso2 while Trying to connect Through enterprise Proxy

好 ,

我從我的本地主機中打了一個簡單的PhoneVerify請求,該請求具有企業代理。

我已經使用下面的鏈接配置了我的代理服務器設置。

無法使用WSO2 API管理器訪問生產端點-企業代理

但是我得到了相同的響應代碼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"
}

[基本網址:/phone/1.0.0,api版本:1.0.0]

由於您位於通過http.proxyPort設置端口的代理后面,因此必須使用端口1234而不是8244。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM