Getting 'Method Not Allowed 405' Error – How Do I Fix This? or Why Am I Seeing a 'Method Not Allowed

16 Replies, 685 Views

Ugh, 405s are the worst.

If you’re using a framework like Laravel or Rails, sometimes the route is defined but the method isn’t whitelisted.

Run `php artisan route:list` (Laravel) or `rake routes` (Rails) to see what methods are allowed.

Also, check for typos in the route definition.

Messages In This Thread



Users browsing this thread: 1 Guest(s)