Method Not Allowed: The HTTP verb used to access this page is not allowed
This error was happening on a PHP page after I moved it to an IIS server.
The PHP code was something like this:
I just had to change it by removing the “/” from the start, like:
or better yet, include the full host name like: