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
@@ -62,7 +61,7 @@ If you have no existing Serverless Functions resources in your current Project,
62
61
</Message>
63
62
6. Click **Create function**. The deployment takes several minutes to complete. Check the **Overview** tab to see the function's status.
64
63
65
-
## How to test a function
64
+
## How to test a Serverless Function
66
65
67
66
1. Click the **Test** tab of your function.
68
67
@@ -73,10 +72,14 @@ If you have no existing Serverless Functions resources in your current Project,
73
72
The **Output** section displays the response from your function and the status code.
74
73
75
74
<Messagetype="note">
76
-
Make sure that your function's privacy policy is set to **Public**. Testing a private function this way will result in an error. Refer to the [dedicated troubleshooting page](/serverless-functions/troubleshooting/tests-fail-on-function/) for more information.
75
+
- Alternatively, you can test your function by running the command below in a terminal:
76
+
```sh
77
+
curl <your_function_endpoint>
78
+
```
79
+
- Make sure that your function's privacy policy is set to **Public**. Testing a private function this way will result in an error. Refer to the [dedicated troubleshooting page](/serverless-functions/troubleshooting/tests-fail-on-function/) for more information.
77
80
</Message>
78
81
79
-
## How to delete a function
82
+
## How to delete a Serverless Function
80
83
81
84
1. Click **Functions** in the **Serverless** section of the side menu. The functions page displays.
0 commit comments