From 7c41b76cad1e2c87f672992ca7a7f86c68cbbacb Mon Sep 17 00:00:00 2001 From: Alex Weininger Date: Thu, 19 May 2022 18:58:38 -0700 Subject: [PATCH] Feat: howdy --- api/HttpTrigger1/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/HttpTrigger1/index.ts b/api/HttpTrigger1/index.ts index 2bce156..b309554 100644 --- a/api/HttpTrigger1/index.ts +++ b/api/HttpTrigger1/index.ts @@ -4,7 +4,7 @@ const httpTrigger: AzureFunction = async function (context: Context, req: HttpRe context.log('HTTP trigger function processed a request.'); const name = (req.query.name || (req.body && req.body.name)); const responseMessage = name - ? "Hello, " + name + ". This HTTP triggered function executed successfully." + ? "Howdy, " + name + ". This HTTP triggered function executed successfully." : "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response."; context.res = { @@ -14,4 +14,4 @@ const httpTrigger: AzureFunction = async function (context: Context, req: HttpRe }; -export default httpTrigger; \ No newline at end of file +export default httpTrigger;