当前位置:编程学习 > C#/ASP.NET >>

IIS7.5 POST请求JSON文件失败

在IIS7.5通过POST请求JSON文件失败,但是如果使用GET方式,请求成功。
以下是Web.config中的配置。

  <system.webServer>
    <staticContent>
      <mimeMap fileExtension=".json" mimeType="text/json" />
    </staticContent>
    <handlers>
      <add name="json" path="*.json" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\System32\inetsrv\asp.dll" resourceType="Unspecified" requireAccess="Script" preCondition="bitness64" />
    </handlers>
  </system.webServer>

下面在浏览器中,请求情况
iis7 json 浏览器 --------------------编程问答-------------------- http://www.cnblogs.com/fengbing/archive/2012/08/30/2664657.html --------------------编程问答-------------------- 我就是按照这个帖子上的做法做的,
结果不行
--------------------编程问答-------------------- 没人啊~~~~~
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,