Note that there are some explanatory texts on larger screens.

plurals
  1. PO405 error IIS8.0 POST method not allowed
    text
    copied!<p>I have an Azure cloud app running IIS8.0.<br /> I have a Wordpress site running on it and I want to make a POST request to a certain resource.<br /> When I use a REST console it succeeds with 200 code.<br /> When I use a iOS app it returns an 405 error with the message "Method POST is not allowed".</p> <p>I checked the request headers and they are exactly the same.</p> <p>I googled and I found out it may have something to do with the handlers in IIS, therefor here are my handlers:</p> <pre><code>&lt;handlers accessPolicy="Read, Script"&gt; &lt;add name="PHP54_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.4\php-cgi.exe" resourceType="Either" /&gt; &lt;add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" /&gt; &lt;add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /&gt; &lt;add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" /&gt; &lt;add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" /&gt; &lt;add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /&gt; &lt;/handlers&gt; </code></pre> <p>Can anybody help me with my issue?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload