简体   繁体   English

使用 Azure 数据工厂将文件从 restAPI 下载到数据湖中

[英]Download a file from restAPI using Azure Data Factory into Data lake

Need some guidance or suggestion需要一些指导或建议

Scenario: We are trying fetch a file using RestAPI and save it to Azure Data Lake.场景:我们正在尝试使用 RestAPI 获取文件并将其保存到 Azure 数据湖。

Journey: Login, GetToken, Invoke GetFile API, and save to AzureDataLake旅程:登录、GetToken、调用GetFile API,并保存到AzureDataLake

We are trying 2 options我们正在尝试 2 个选项

  1. using LogicApp-- this work fine, but apparently this is not approved PaaS service.使用 LogicApp——这项工作很好,但显然这不是批准的 PaaS 服务。
  2. Using Data Factory-- here we are facing some issue.使用数据工厂——在这里我们面临一些问题。 We are able to invoke the RestEndpoint, but unable to parse the response into a file (pdf, img etc...).我们能够调用 RestEndpoint,但无法将响应解析为文件(pdf、img 等)。 How can I achieve this?我怎样才能做到这一点?

Best, Ashwin最好的,阿什温

Please change to use HTTP connector :请改为使用HTTP 连接器

HTTP connector is generic to retrieve data from any HTTP endpoint, for example, to download files . HTTP 连接器是通用的,用于从任何 HTTP 端点检索数据,例如,下载文件

REST connector is used to copy the REST JSON response. REST 连接器用于复制 REST JSON 响应。 You can refer this documentation你可以参考这个文档

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试通过 azure 数据工厂将数据从 REST API 下载到 azure 数据湖。 如何在 azure 数据工厂中传递 API 的查询参数? - I am trying to download data from REST API to azure data lake via azure data factory. How can I pass query parameters for API in azure data factory? 使用rest api的azure数据湖存储中的更新文件出现问题 - issue with update file in azure data lake store using rest api 能否使用 Azure 数据工厂将 Qualtrics 数据文件下载到 Blob 存储? - Can you download a Qualtrics data file to blob storage using Azure Data Factory? 如何使用 Azure 数据工厂动态添加 HTTP 端点以将数据加载到 azure 数据湖中,并且 REST api 已通过 cookie 身份验证 - How to Dynamically adding HTTP endpoint to load data into azure data lake by using Azure Data Factory and the REST api is cookie autheticated Append 数据到 Azure 数据湖存储中的现有文件 REST ZDB974238714CA8DE634A7CE10D - Append data to existing file in Azure Data Lake storage from REST API 使用 Azure 数据工厂从 REST API 获取数据 - Using Azure Data Factory to get data from a REST API 使用 Azure 数据工厂从 REST API 引入传入数据 - Using Azure Data Factory to ingest incoming data from a REST API 如何通过RestAPI使用commitId从Bitbucket下载文件? - How to download a file from Bitbucket using commitId through RestAPI? Azure Data Lake HDFS 上传文件大小限制 - Azure Data Lake HDFS upload file size limit Azure 数据湖 gen2 - 验证上传的文件(MD5?) - Azure data lake gen2 -Validating uploaded file(MD5?)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM