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
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-develop-vs-code.md
+12-10
Original file line number
Diff line number
Diff line change
@@ -337,24 +337,26 @@ The following steps publish your project to a new function app created with adva
337
337
338
338
A notification appears after your function app is created and the deployment package is applied. Select **View Output** in this notification to view the creation and deployment results, including the Azure resources that you created.
339
339
340
-
##Republish project files
340
+
### Get the URL of an HTTP triggered function in Azure
341
341
342
-
When you set up [continuous deployment](functions-continuous-deployment.md), your function app in Azure is updated when you update source files in the connected source location. We recommend continuous deployment, but you can also republish your project file updates from Visual Studio Code.
342
+
To call an HTTP-triggered function from a client, you need the URL of the function when it's deployed to your function app. This URL includes any required function keys. You can use the extension to get these URLs for your deployed functions. If you just want to run the remote function in Azure, use the [Execute function now functionality of the extension](#run-functions-in-azure).
343
343
344
-
> [!IMPORTANT]
345
-
> Publishing to an existing function app overwrites the content of that app in Azure.
344
+
1. Select F1 to open the command palette, and then search for and run the command **Azure Functions: Copy Function URL**.
1. Follow the prompts to select your function app in Azure and then the specific HTTP trigger that you want to invoke.
348
347
349
-
## Get the URL of the deployed function
348
+
The function URL is copied to the clipboard, along with any required keys passed by the `code` query parameter. Use an HTTP tool to submit POST requests, or a browser for GET requests to the remote function.
350
349
351
-
To call an HTTP-triggered function, you need the URL of the function when it's deployed to your function app. This URL includes any required [function keys](functions-bindings-http-webhook-trigger.md#authorization-keys). You can use the extension to get these URLs for your deployed functions.
350
+
When getting the URL of functions in Azure, the extension uses your Azure account to automatically retrieve the keys it needs to start the function. [Learn more about function access keys](security-concepts.md#function-access-keys). Starting non-HTTP triggered functions requires using the admin key.
352
351
353
-
1. Select F1 to open the command palette, and then search for and run the command **Azure Functions: Copy Function URL**.
352
+
## Republish project files
354
353
355
-
1. Follow the prompts to select your function app in Azure and then the specific HTTP trigger that you want to invoke.
354
+
When you set up [continuous deployment](functions-continuous-deployment.md), your function app in Azure is updated when you update source files in the connected source location. We recommend continuous deployment, but you can also republish your project file updates from Visual Studio Code.
356
355
357
-
The function URL is copied to the clipboard, along with any required keys passed by the `code` query parameter. Use an HTTP tool to submit POST requests, or a browser for GET requests to the remote function.
356
+
> [!IMPORTANT]
357
+
> Publishing to an existing function app overwrites the content of that app in Azure.
0 commit comments