405 Method Not Allowed

I’m getting ‘405 Method Not Allowed’ error and a general ‘500 internal server error’ when the iOS app I’m working on is making an API request to my droplet with VirtualMIn installed.

Is this a server configuration error? Maybe something to do with security?

If so, how do I fix this?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

How are you hitting that API endpoint? Purchase confirmation should be a POST: <br> <br> <br> <br>I’m able to successfully hit your server for GET endpoints like: <br> <br>