How to tell IIS7 to allow POST to a text file (to solve 405)?
Posted
by
meticulous
on Server Fault
See other posts from Server Fault
or by meticulous
Published on 2011-04-11T17:10:08Z
Indexed on
2012/04/06
17:32 UTC
Read the original article
Hit count: 199
If I want to allow HTTP POST to text files *.txt (i.e. I'm taking an example of what could be any static resource normally accessible by GET).
The error is:
Server Error
405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
How can I accomplish this?
Background: I'm using apps.facebook.com to hit my hosted facebook app and facebook sends HTTP POST now through to the iFrame hosting my app. This facebook behaviour has been around for a while but it's being forced now. In turn this forces me to make stuff available to the POST verb.
© Server Fault or respective owner