Fatal error: Uncaught Slim\Exception\HttpMethodNotAllowedException: Method not allowed. Must be one of: OPTIONS in /app/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php:79
Stack trace:
#0 /app/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(44): Slim\Middleware\RoutingMiddleware->performRouting(Object(Slim\Psr7\Request))
#1 /app/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#2 /app/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request))
#3 /app/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#4 /app/public/index.php(85): Slim\App->handle(Object(Slim\Psr7\Request))
#5 {main}
thrown in /app/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php on line 79
{
"statusCode": 500,
"error": {
"type": "SERVER_ERROR",
"description": "ERROR: Uncaught Slim\\Exception\\HttpMethodNotAllowedException: Method not allowed. Must be one of: OPTIONS in \/app\/vendor\/slim\/slim\/Slim\/Middleware\/RoutingMiddleware.php:79\nStack trace:\n#0 \/app\/vendor\/slim\/slim\/Slim\/Middleware\/RoutingMiddleware.php(44): Slim\\Middleware\\RoutingMiddleware->performRouting(Object(Slim\\Psr7\\Request))\n#1 \/app\/vendor\/slim\/slim\/Slim\/MiddlewareDispatcher.php(129): Slim\\Middleware\\RoutingMiddleware->process(Object(Slim\\Psr7\\Request), Object(Psr\\Http\\Server\\RequestHandlerInterface@anonymous))\n#2 \/app\/vendor\/slim\/slim\/Slim\/MiddlewareDispatcher.php(73): Psr\\Http\\Server\\RequestHandlerInterface@anonymous->handle(Object(Slim\\Psr7\\Request))\n#3 \/app\/vendor\/slim\/slim\/Slim\/App.php(209): Slim\\MiddlewareDispatcher->handle(Object(Slim\\Psr7\\Request))\n#4 \/app\/public\/index.php(85): Slim\\App->handle(Object(Slim\\Psr7\\Request))\n#5 {main}\n thrown on line 79 in file \/app\/vendor\/slim\/slim\/Slim\/Middleware\/RoutingMiddleware.php."
}
}