由於天藍色錯誤,無法存取特定的其餘 api

由於天藍色錯誤,無法存取特定的其餘 api

我的應用程式使用 Spring Rest 並部署在 Azure 伺服器中。使用 Spring Rest 建立了 Rest api。

除了一種情況外,我能夠訪問所有其餘網址。

例如: http://mydomain123.com/api/abc,http://mydomain123.com/api/xyz/abc

能夠存取以上網址

http://mydomain123.com/api/bin, http://mydomain123.com/api/xyz/bin,http://mydomain123.com/api/bin/dfdff

但上面的網址有 bin 詞,出現以下錯誤:

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

我正在嘗試如下,但根本不起作用:

<configuration>
<system.webServer>
    <rewrite>
      <rules>
        <rule name="Main Rule" stopProcessing="true">
                <match url=".*" />
                
            </rule>
        </rules>
    </rewrite>
</system.webServer>
</configuration>

請有人幫我解決上述問題(即使其中包含“bin”一詞,我也應該能夠訪問其餘的 api)

相關內容