如何配置 IIS 以接受 POST 请求? [英] How do I Configure IIS to accept POST requests?
问题描述
我知道默认情况下 IIS 不接受发布请求,我该如何更改此设置.有人可以指导我改变这个(一步一步)..拜托吗?
I know by default IIS doesn't accept post requests how can I change this setting. Can someone walk me through changing this (step by step).. Please?
推荐答案
如果您使用的是 IIS 6 及更低版本:
If you are using IIS 6 and lower:
在 IIS 管理屏幕内,右键单击您的网站或虚拟目录.转到Properties
,然后转到Home Directory
或Virtual Directory
选项卡,然后单击Configuration
按钮.从那里您可以添加/更新扩展以及接受哪些动词.
From inside the IIS management screen right click on your website or virtual directory. Go to Properties
then go to the Home Directory
or Virtual Directory
tab and click on the Configuration
button. From there you can add/update extensions and what Verbs are accepted.
如果您使用的是 IIS 7:
If you are using IIS 7:
在 IIS 管理屏幕内单击 Handler Mappings
.您可以通过单击右侧的链接添加或双击项目进行编辑.
From inside the IIS management screen click on Handler Mappings
. You can add by clicking the links on the right side or double-click on an item to edit it.
这篇关于如何配置 IIS 以接受 POST 请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!