You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

37
35
38
-
1.In the **New Function** window, accept the default name for **New Function**, or enter a new name.
36
+
1.Choose **WebHook + API**, and then select **Create**.
39
37
40
-
1. Choose **Anonymous** from the **Authorization level** drop-down list, and then select **Create Function**.
38
+

41
39
42
-

40
+
A function is created using a language-specific template for an HTTP triggered function.
43
41
44
-
Azure creates the HTTP trigger function. Now, you can run the new function by sending an HTTP request.
42
+
Now, you can run the new function by sending an HTTP request.
45
43
46
44
## Test the function
47
45
48
-
1. In your new HTTP trigger function, select **Code + Test** from the left menu, then select **Get function URL**from the top menu.
46
+
1. In your new function, select **</> Get function URL**at the top right.
49
47
50
-

51
-
52
-
1. In the **Get function URL** dialog box, select **default** from the drop-down list, and then select the **Copy to clipboard** icon.
48
+
1. In the **Get function URL** dialog box, select **default (Function key)** from the drop-down list, and then select **Copy**.
53
49
54
50

55
51
56
-
1. Paste the function URL into your browser's address bar. Add the query string value `?name=<your_name>` to the end of this URL and press Enter to run the request.
52
+
1. Paste the function URL into your browser's address bar. Add the query string value `&name=<your_name>` to the end of this URL and press Enter to run the request.
57
53
58
54
The following example shows the response in the browser:
59
55
60
56

61
57
62
58
The request URL includes a key that is required, by default, to access your function over HTTP.
63
59
64
-
1. When your function runs, trace information is written to the logs. To see the trace output from the previous execution, return to the **Code + Test** page in the portal and select the arrow at the bottom of the screen to expand the **Logs**. Select **Test** from the top menu.
60
+
1. When your function runs, trace information is written to the logs. To see the trace output from the previous execution, return to your function in the portal and select the arrow at the bottom of the screen to expand the **Logs**.
65
61
66
62

0 commit comments