Facebook is requiring all canvas apps to support HTTP POST in the iframe instead of GET. However, when I enable the feature, ASP.net complains that
The HTTP verb POST used to access path '/' is not allowed
For some reason Facebook requires a path that does not have an extension in it (for example it requires mydomain.com/random/ instead of mydomain.com/mypage.aspx).
How can I enable POST for aspx pages and the root (default) page in my web.config page so I can develop my app locally? I belive the configuration on IIS is more straightforward.
Thanks.
I’ve found a workable solution by “rewriting” the requests to my root path in the Global.asax file. Works for development server, but will probably have to be removed in production: