Estecado
227
3
Lumen

MethodNotAllowedHttpException on post route in Lumen 5.7

Posted 1 month ago by Estecado

Hi,

I struggle with this error since yesterday :

MethodNotAllowedHttpException in RoutesRequests.php line 233

It appear when I use a new post route to my lumen api with postman (I set method on POST) :

http://api.domain.com/v1/places/search/

and in routes/web.php :

$router->post('places/search/', ['uses' => '[email protected]']);

I check others routes and this is the only one with "places" and "search" in it.

If anybody have a idea about it ?

Thanks

Please sign in or create an account to participate in this conversation.