hello guys
I am new to slim my goal is to create a basic environment of development from slim
and it’s been several days that I block on the request in bdd, my configuration is good
in most of the examples the request is done directly in the function, but I prefer to use a class action for CRUD operations.
I would like to know or have a documentation for my test on how to send my form data in POST to work then in my class
(I am forced to use the path_for () method
and the function setName) and add twigExtension?
//BY adding the below in your forms you can hit any of the above http requests
<input type ="hidden" name ="_METHOD" value ="DELETE">
$app->delete('/delete', App\Action::class.':delete')