// server/api/login.ts export default defineEventHandler(async (event) => { // const body = await readBody(event); // const response = await $fetch("https://api.example.com/login", { // method: "POST", // body, // }); // return response; });