问题
I need to send request to API over Azure Data Factory. But input parameter is file. How can i do this?
回答1:
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:
Then set pipeline parameter filename
:
Web active settings:
Set dataset filename = @pipeline().parameters.filename
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.
来源:https://stackoverflow.com/questions/62322109/how-can-i-pass-file-as-parameter-in-post-request-web-activity-azure-data-facto