"feat: refactor API handlers to use services, add logging, and improve security checks"

This commit is contained in:
louiscklaw
2025-06-04 02:35:05 +08:00
parent ef0c0ab389
commit 99239c32a5
20 changed files with 303 additions and 42 deletions

View File

@@ -0,0 +1,25 @@
###
GET http://localhost:7272/api/helloworld
###
GET http://localhost:7272/api/helloworld?helloworldId=1
###
POST http://localhost:7272/api/helloworld?helloworldId=1
content-type: application/json
{
"data":{"hello": "hell"}
}
###
PUT http://localhost:7272/api/helloworld?helloworldId=1
content-type: application/json
{
"data": {"hello": "hell"}
}
###
DELETE http://localhost:7272/api/helloworld?helloworldId=1