我们正在尝试使用 ARR(应用程序请求路由)和 URL 重写来设置反向代理机制。当我们使用 GET 方法请求时,重写工作正常,但是当我们发送带有此内容类型(x-form-urlencoded)请求的方法的 Post 时,ARR 不返回任何响应。我怎么解决这个问题?
<rewrite>
<rules>
<rule name="InboundGeneral" enabled="true" stopProcessing="true">
<match url="^(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://localhost:29341/{R:1}" logRewrittenUrl="true" />
</rule>
</rules>
</rewrite>