Hi, I am building out a Netlify function to listen to a Svix Webhook. I have verified the Svix webhook is working and has a req.body. However, I am unable to parse the body inside my Netlify functions. Does anyone have any experience/suggestions on how this can be resolved? Thanks
Hi @girri,
If you actually show what you’ve already tried, it might help us avoid suggesting that.
But typically, you can read event body like this:
exports.handler = async event => {
return {
statusCode: 200,
body: JSON.stringify(event.body)
}
}