Fatal error: Uncaught exception 'BadMethodCallException' with message 'Method del is not a valid method' in /usr/share/nginx/html/vendor/slim/slim/Slim/App.php:126 Stack trace: #0 /usr/share/nginx/html/rest/index.php(137): Slim\App->__call('del', Array) #1 /usr/share/nginx/html/rest/index.php(137): Slim\App->del('/delete_task/{t...', Object(Closure)) #2 {main} thrown in /usr/share/nginx/html/vendor/slim/slim/Slim/App.php on line 126