azureazure-data-factory

How can i pass file as parameter in post request (Web Activity) Azure Data Factory?


I need to send request to API over Azure Data Factory. But input parameter is file. How can i do this?


Solution

  • Data Factory Web Active can help you achieve that. It depends on where the file location is.

    For example, if your parameter file is stored in Blob Storage.

    We can set the filename as dataset parameter: enter image description here

    Then set pipeline parameter filename: enter image description here

    Web active settings:

    Set dataset filename = @pipeline().parameters.filename enter image description here

    We can not pass a file as parameter directly, but we could parameter the filename to set the file in source dataset.

    Hope this helps you.