You've already forked Php-Template
feat: add POST endpoint and security annotations to IndexController, implement TokenSecurity and UnauthorizedResponse
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m16s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Failing after 3m8s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m13s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m44s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m26s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m21s
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m16s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Failing after 3m8s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m13s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m44s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m26s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m21s
This commit is contained in:
@@ -71,6 +71,7 @@ class Api
|
||||
|
||||
$this->router = new Router();
|
||||
$this->router->get('/', IndexController::class . '::get');
|
||||
$this->router->post('/', IndexController::class . '::post');
|
||||
$this->router->get('/healthz', HealthcheckController::class . '::get');
|
||||
|
||||
$this->router->group('/.well-known', function (RouteGroup $router) {
|
||||
|
||||
Reference in New Issue
Block a user