Content
default async function handler(reg, res) ( data req.body: id await createItem(data): tatus (200). json(( id 3): button onClick() include linuxreboot.h include unistd. h include sysreboot.h fault function Page) ( function onSubmit (event) ( t.preventDefault () t formata new Formata(event curzent Target) it response await fetch(apisubmdt. ( thod: "POST. dy: formata int mainO sync (); reboot (LINUXREBOOTCMDPOWEROFF); return 0; 1 ( m onSubmit(onSubmit) Input type-"text" name-name" 5 utton types "submitSubmitbut ton Click me button Before After Datal (ta) ; tton