From the course: Azure Functions for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Implementing the route and Blob input bindings in the Download function

Implementing the route and Blob input bindings in the Download function - Azure Tutorial

From the course: Azure Functions for Developers

Start my 1-month free trial

Implementing the route and Blob input bindings in the Download function

- [Instructor] In this video, we'll see how to create a function for downloading the photos from the different blob storage containers. So let's add a new Azure function right here. And let's name it, photos download. And we're going to use the HTTP trigger with anonymous. Let's get rid of everything. And let's rename the logger object. And we want to be sure that we're going to use the Get method only. This function is particularly interesting because we're going to use the route as follows. I'm going to set it to photos/ID inside curly braces, because I want to pass the photo ID as a parameter to this function. In other words, I'm going to use the last segment of the URI as the ID value. I can even set the value of the following argument that we're going to use to log some information in the council. For example, logger log information in downloading. And of course, I want to use the following syntax. And we're…

Contents