Flash update

This commit is contained in:
Relism
2025-02-28 17:23:35 +01:00
parent 9c66001947
commit 55cc97e4fc
3 changed files with 5 additions and 5 deletions
@@ -120,7 +120,7 @@ public abstract class APIKeyProtectedHandler extends RequestHandler {
Now, your API handler implementation only need to extend APIKeyProtectedHandler, ensuring every request has a valid API key before executing its logic:
```java
@RouteInfo(method = HttpMethod.GET, path = "/data")
@RouteInfo(endpoint = "/data", method = HttpMethod.GET)
public class GetDataHandler extends APIKeyProtectedHandler {
public GetDataHandler(Request req, Response res) {
super(req, res);