Dears,
I’m receiving the below error when I tried to post
<br />
<b>Fatal error</b>: Uncaught Slim\Exception\HttpNotFoundException: Not found. in C:\xampp\htdocs\lotus\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php:91
Stack trace:
#0 C:\xampp\htdocs\lotus\vendor\slim\slim\Slim\Routing\RouteRunner.php(72): Slim\Middleware\RoutingMiddleware->performRouting(Object(Slim\Psr7\Request))
#1 C:\xampp\htdocs\lotus\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request))
#2 C:\xampp\htdocs\lotus\vendor\slim\slim\Slim\App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#3 C:\xampp\htdocs\lotus\vendor\slim\slim\Slim\App.php(199): Slim\App->handle(Object(Slim\Psr7\Request))
#4 C:\xampp\htdocs\lotus\public\index.php(220): Slim\App->run()
#5 {main}
thrown in
<b>C:\xampp\htdocs\lotus\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php</b> on line
<b>91</b>
<br />
index.php contains
<?php
use Slim\Factory\AppFactory;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
require __DIR__ . '/../vendor/autoload.php';
require '../includes/DbOperations.php';
$app = AppFactory::create();
$app->setBasePath("/public");
$app->get('/', function (Request $request, Response $response, $args)