@FvsJson per the docs “The middleware should be placed after the routing middleware has been added.”
dbcl
21
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| PUT request giving error "405 Method Not Allowed" | 14 | 9697 | May 31, 2016 | |
| Error 405 - <form method="post"...> fails with SLIM? | 9 | 3677 | August 4, 2016 | |
| Send a form using PUT instead of POST | 1 | 32 | September 25, 2026 | |
| Slim 3 - Placeholders in routes are not working | 8 | 1020 | April 20, 2020 | |
| Slim v3 not throwing 405 error when a GET request is made on a POST endpoint | 7 | 2143 | May 23, 2018 |