Hello Dave,
Try the following suggestions found on:
module.exports = async function (context, req) {
context.log('JavaScript HTTP trigger function processed a request.')
context.res = {
body: `Node version: ${process.version}`
}
}
If this is helpful please accept answer.