The body in the request is a WixHttpFunctionRequestBody object so try calling request.body.json() to get your data.