- Create a new function app named MyProductionApp.
- Create a new HTTP trigger and name it MyProd-HttpTrigger1. Please replace the last line with the following:
return name == null ? req.CreateResponse(HttpStatusCode.BadRequest, "Please pass a name on the query string or in the request body") : req.CreateResponse(HttpStatusCode.OK, "Welcome to MyProd- HttpTrigger1 of Production App " + name);
- 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 ? req.CreateResponse(HttpStatusCode.BadRequest, "Please pass a name on the query string or in the request body") : req.CreateResponse(HttpStatusCode.OK, ...