用于访问路径“/test.html”的HTTP谓词POST是不允许的 [英] The HTTP verb POST used to access path '/test.html' is not allowed

查看:143
本文介绍了用于访问路径“/test.html”的HTTP谓词POST是不允许的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是我的code:

 <表ID =productForm方法=邮报行动=test.html的>< /表及GT;


解决方案

您使用任何URL重写? (http://forums.asp.net/t/953470.aspx)

在网络服务器中,POST允许HTML文件?请尝试更改扩展名的.aspx或.PHP

Below is my code:

<form id="productForm" method="post" action="test.html">

</form>

解决方案

Are you using any URL rewriting? (http://forums.asp.net/t/953470.aspx)

In the webserver, is POST allowed for HTML files? Try changing the extension to .ASPX or .PHP

这篇关于用于访问路径“/test.html”的HTTP谓词POST是不允许的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆