I’m trying to use the WebHooks app to send data from my forms to my Wix website. It’s not working, but I can’t tell if the issue is with my script or the configuration of the app.
I have WebHooks set up on two of my forms: Copy of Contact Form and Sport for Life Evaluation. I entered the url of my script ( https://www.viasportevaluation.com/_functions/123FormWebHook ) which should direct to this script:
export function use_123FormWebHook (request) {
return request.body.json()
.then( ( body ) =>
{
return wixData.insert( ‘TestDatabase’, body.data );
} )
Does anyone have an insight as to whether there is an issue with the code I’m using?