Files
cobaKeuangan/server/api/roleMenu/roleMenu.post.ts
2025-06-04 08:54:26 +07:00

11 lines
311 B
TypeScript

export default defineEventHandler(async(event)=> {
const body = await readBody(event)
console.log(body)
const a = await $fetch(`http://10.10.150.131:8080/api/menu/role/type/${body}`,{
headers: {
"Content-Type": "application/json",
},
method: "GET",
})
return a
})