[英]Is it possible to enable Always On for Azure websites through management/resource management APIs?
[英]Azure API management always returning 404 resource not found
我在 AZURE 中有一個 API 實例,配置如下。
什么工作如果我直接調用 web 服務 URL 如下操作 GET 到 /about,我得到響應代碼 200
http://10.20.10.2:8080/api/v1/about
Response: 200
什么不起作用如果我通過 APIM 執行相同的操作,我會得到一個 404 資源未找到。
http://corol.abpparking.domain.com/myaboutpage/about
Response: 404 Resource not found
我想不出我們的原因是什么。 請注意,我在 Swagger 定義中沒有任何基本路徑。
請務必檢查 Azure APIM 中的 API 是否配置為除 HTTPS 外還接受 HTTP。 您可以在 API 設置中進行設置,在您設置 API 后端 URL 的同一頁面上
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.