AbdulElahGwaith's picture
Upload folder using huggingface_hub
ebffcb3 verified
metadata
Order: 3
Area: functions
TOCTitle: Create a Function
PageTitle: Create a Function
MetaDescription: Try Azure Functions for free with Visual Studio Code
DateApproved: 2/9/2018

Add a Function to your App

Next, create a Function that handles HTTP requests.

From the AZURE FUNCTIONS explorer, click the Create Function icon.

Create Function

Select the directory you currently have open - it's the default option so press kbstyle(Enter). When prompted, choose HTTP trigger, use the default name of HttpTriggerJS, and choose Anonymous authentication.

Choose Template

Choose Authentication

Upon completion, a new directory is created within your Function app named HttpTriggerJS that includes index.jsand functions.json files. The index.js file contains the source code that responds to the HTTP request and functions.json contains the binding configuration for the HTTP trigger.

Completed Project

Next, run your app locally to verify everything is working.


I created the Functions App