HTTP ROUTES
Use a verb as the route declaration
Imported endpoint modules use lowercase get, post, put, patch, and delete declarations. Each route declares its path and handler directly.
endpoints apiRoutes
group path:"/api/auth"
post path:"/register" handler:registerUser
post:
path:"/login"
handler:loginUserForm | Guidance |
|---|---|
No dataThere are no records to display | |