| author | ggailey777 |
|---|---|
| ms.service | azure-functions |
| ms.topic | include |
| ms.date | 06/15/2022 |
| ms.author | glenga |
| ms.custom | devdivchpfy22 |
-
Run your function by starting the local Azure Functions runtime host from the LocalFunctionProj folder.
func startToward the end of the output, the following lines must appear:
[!NOTE]
If HttpExample doesn't appear as shown above, you likely started the host from outside the root folder of the project. In that case, use Ctrl+C to stop the host, go to the project's root folder, and run the previous command again. -
Copy the URL of your HTTP function from this output to a browser and append the query string
?name=<YOUR_NAME>, making the full URL likehttp://localhost:7071/api/HttpExample?name=Functions. The browser should display a response message that echoes back your query string value. The terminal in which you started your project also shows log output as you make requests. -
When you're done, press Ctrl + C and type
yto stop the functions host.
