Perform the following steps:
- Create a new function app named MyProductionApp.
- Create a new HTTP trigger and name it MyProd-HttpTrigger1. Replace the last line with the following:
return name != null ? (ActionResult)new OkObjectResult("Welcome to MyProd-HttpTrigger1 of Production App") : new BadRequestObjectResult("Please pass a name on the query string or in the request body");
- Create another new HTTP trigger and name it MyProd-HttpTrigger2. Use the same code that you used for MyProd-HttpTrigger1—just replace the last line with the following:
return name != null ? (ActionResult)new OkObjectResult("Welcome to MyProd-HttpTrigger2 of Production App") : new BadRequestObjectResult("Please pass a name on the query string or ...