Minute Coding Problem Solving AWS S3 and PHP Survey

Опубликовано: 06 Июнь 2026
на канале: Minute Coding
163
1

The Problem: 405 Method Not Allowed

Code: MethodNotAllowed
Message: The specified method is not allowed against this resource.
Method: POST
ResourceType: OBJECT


What I've tried:

I've done some extensive research in order to fix this, but all the solutions I've tried lead to the same error (405). The solutions I've tried: I've set Cloudfront, the default root directory is blank. Prior to setting Cloudfront to accept all requests (POST, Put, Get, etc), it was a 403 error, after I set it to accept all, it became a 405 error. Note about what is being performed: I have an HTML page with a form tag, the form action is being performed on a separate PHP document. Please see this video to see how it works on AMPPSS Server:    • Minute Coding PHP Lesson 12 Survey ($_POST)  


What I will do: I will review the documentation to see how it to store survey data to S3, then upload another video with the solution. Please leave a comment on this video if you are interested in seeing the solution, or subscribe and receive a notification.



Come visit my website https://MinuteCoding.dev to see the product of what I have taught on this channel.

Join our Discord Server, we have discussions and memes!   / discord  

If my content ever gets taken down, you can always watch it through here: https://lbry.tv/$/invite/@MinuteCoding:2

Link to IDE(S) and its components:

[For HTML, CSS, and JavaScript Lessons]: https://notepad-plus-plus.org/downloa...
[For Java Lessons]: https://www.oracle.com/java/technolog...
[For Java Lessons]: https://www.oracle.com/java/technolog...
[For Java Lessons]:https://www.eclipse.org/neon/
[For Python Lessons]: https://thonny.org/

Interested in the source code used in my videos? Please visit my GitHub repository: https://github.com/MiguelSParada?tab=...

Minute coding is a channel dedicated to teaching a lesson 1 minute at a time.

Uploads are 12pm EST daily.