How to create a Function app with a Webhook to provide a Hello message with your name
Published: 2023-12-16 05:41:04

**Introduction**
Azure Function App is a serverless computing service provided by Microsoft Azure that enables developers to build and deploy event-driven, scalable, and cost-effective applications without the need to manage infrastructure.
Imagine Azure Function App as a toolbox filled with different tools that perform specific tasks automatically based on certain triggers. It's like having a set of tools that work independently and efficiently without needing your constant supervision.

Here is a simple steps to create one

**Step 1**

On Azure web browser, search for **Function App** and click on it.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6ugt3nzm7i1nr5cvusg3.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6keouiuo64td68m1miql.png)

**Step 2**

On the create pane, we have the project details and the instance details. Select the default setting for project details on subscription and also existing resource group


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zteub542thdlksdka3po.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ocxwyi4b32dp4y04moh4.png)

Review and create:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/okkno0c9nm50jgiq2ckk.png)

**Step 3**
Allow the deployment to complete:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/243b0c5due0j65n8iyby.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nvx21epf1p9u4j1tcxmt.png)

**Step 4**
It is time to create the function:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/62hat8s5xkyrru97k1ly.png)

Use HTTP Trigger template, fill in the details and click on create

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d16tmpq3ui0q4y973p87.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aip6nbjgxxg7lysfo4us.png)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szt9hfjd76vmymx6yo34.png)


**Step 5**
On the trigger function created, check on the left, click on code + test:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jcrlqk4cj8saha7dawv5.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z1yn3fbyukn3z6i89075.png)

**Step 6**
Paste the copied URL into your browser's address bar. Add the query string ?name= to the end of the URL and press enter to make the request. If you selected function as the authorization level, append the string &&name= at the end of the URL in the browser's address bar. The result will show your name on the screen. As shown below:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qy4pvd24mdqzm8eq9igh.png)


**Step 7**
Whenever the trigger function runs, it will be logged, as depicted in the image below.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gl74lbuwof2o8zcu158f.png)


Read and comment