Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 947 Bytes

functions-run-function-test-local-vs.md

File metadata and controls

19 lines (13 loc) · 947 Bytes
author ms.service ms.topic ms.date ms.author
ggailey777
azure-functions
include
03/06/2020
glenga
  1. To run your function, press F5 in Visual Studio. You might need to enable a firewall exception so that the tools can handle HTTP requests. Authorization levels are never enforced when you run a function locally.

  2. Copy the URL of your function from the Azure Functions runtime output.

    Azure local runtime

  3. Paste the URL for the HTTP request into your browser's address bar. Append the query string ?name=<YOUR_NAME> to this URL and run the request. The following image shows the response in the browser to the local GET request returned by the function:

    Function localhost response in the browser

  4. To stop debugging, press Shift+F5 in Visual Studio.