author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
ggailey777 |
azure-functions |
include |
09/23/2019 |
glenga |
Update HttpExample\__init__.py to match the following code, adding the msg
parameter to the function definition and msg.set(name)
under the if name:
statement.
:::code language="python" source="~/functions-docs-python/functions-add-output-binding-storage-queue-cli/HttpExample/init.py":::
The msg
parameter is an instance of the azure.functions.Out class
. Its set
method writes a string message to the queue, in this case the name passed to the function in the URL query string.