defineEventHandler
A Nuxt server function that turns a plain function into a route handler. Whatever it returns is sent to the browser as JSON.
A Nuxt server function that turns a plain function into a route handler. Whatever it returns is sent to the browser as JSON.