Report this

What is the reason for this report?

Method not allowed. Must be one of: POST (I am using LAMP)

Posted on April 5, 2016

Hi,

First of all, let me tell you that this isn’t a 405 Method Not Allowed error. The message in the subject is the message I get when I try to access to my droplet from my browser. What is weird is that the POST request works when I send it from Chrome’s Advanced Rest Client Application… Can someone please tell me how to solve this problem?

Thank you very much!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What software are you running on this server? Is this a static page you are trying to reach? If this is not a 405 error (which would indicate a configuration issue) I would recommend checking your apache error log to see if a script is encountering a problem, causing this message.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.