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;