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
1.Choose **WebHook + API**, and then select **Create**.
38
+
1.In the **New Function** window, accept the default name for **New Function**, or enter a new name.
37
39
38
-

40
+
1. Choose **Anonymous** from the **Authorization level** drop-down list, and then select **Create Function**.
39
41
40
-
A function is created using a language-specific template for an HTTP triggered function.
42
+

41
43
42
-
Now, you can run the new function by sending an HTTP request.
44
+
Azure creates the HTTP trigger function. Now, you can run the new function by sending an HTTP request.
43
45
44
46
## Test the function
45
47
46
-
1. In your new function, select **</> Get function URL**at the top right.
48
+
1. In your new HTTP trigger function, select **Code + Test** from the left menu, then select **Get function URL**from the top menu.
47
49
48
-
1. In the **Get function URL** dialog box, select **default (Function key)** from the drop-down list, and then select **Copy**.
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.
49
53
50
54

51
55
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.
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.
53
57
54
58
The following example shows the response in the browser:
55
59
56
60

57
61
58
62
The request URL includes a key that is required, by default, to access your function over HTTP.
59
63
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**.
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.
61
65
62
66

0 commit comments