Support the ongoing development of Laravel.io →
Requests Testing

Hey folks,

I'm getting a MethodNotAllowedHttpException when trying to use the HTTP method DELETE for one of my routes. I'm passing _method as DELETE in a hidden input. See this Gist for the code and stack trace: https://gist.github.com/bewitchingme/1b811950708bf2dffa36

Note: The test passes.

Last updated 3 years ago.
0

Let's see the source of the form/AJAX that you are using to make the request too...

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.