Estecado's avatar

MethodNotAllowedHttpException on post route in Lumen 5.7

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' => 'PlaceController@getList']);

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

If anybody have a idea about it ?

Thanks

0 likes
4 replies
Estecado's avatar

Thanks @mvd but there is no VerifyCsrfToken class in Lumen 5.7

Please or to participate in this conversation.