Hello Walter,
Is your form on the same website or an external one?
Try this instead of the code you have:
export async function use_123FormWebHook (request) {
let body = await request.body.json();
console.log(body, "make sure this is not empty")
await wixData.insert('TestDatabase', body.data );
}
You can also try checking out this short article:
Let me know if this works,
Majd