Hello!
im having issues on ubuntu 19.04 while trying to use the delete method:
$app->delete(’/hotels/’, function ($request, $response, $args) {
die(var_dump($args));
});
i get the infamous ->
Method not allowed. Must be one of: GET, PUT, POST
hen i test it with postman using the DELETE method,
tried changing the apache2.conf with no luck, the message is still there.
any help would be appreciated.
thanks in advance.