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

醉酒当歌 提交于 2020-08-10 19:15:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!