DEV Community

Lillie Mae
Lillie Mae

Posted on

HOW TO CREATE A FUNCTION APP WITH A WEBHOOK TO PROVIDE A "HELLO" MESSAGE WITH YOUR NAME.

STEP 1: CREATE A FUNCTION APP

  • Search function app' on the search panel and click on create.
    Image description

  • Fill in your required details.Choose your subscription, add a resource group, your "publish" should be on code, give your function app a name, choose .Net for your "runtime stack", leave the rest as default. Click on review+create then click on create.
    Image description

STEP 2: CREATE A HTTP TRIGGERED EVENT FUNCTION

  • Once deployment is completed, click on "Go to resource".
  • Click on fuction and then click on create.
  • Select Http trigger and scroll down to input a name for your event function or maintain name given. Image description

STEP 3: PROVIDE A HELLO MESSAGE WITH YOUR NAME THEN RUN A TEST

  • To run a test, click on "Get function url" to copy the url.
  • Paste the url in your web browser.
  • At the end of the url code, add "&name=your name" then hit enter. E.g &name=Victor
  • You will receive a hello message with your name. Image description Image description Image description

Top comments (0)