从带有HTTP连接器的Rest API动态读取JSON [英] Read JSON from Rest API with http connector dynamically

查看:86
本文介绍了从带有HTTP连接器的Rest API动态读取JSON的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi! I'm repeating the question asked by Ivan in another thread: how-to-configure-dynamic-httpfile-source-in-azure-data-factory

如何通过html连接器在相对网址中添加动态内容来做到这一点?我已经创建了一个带有默认值的参数,但是我在相对URL中没有使用它,但是它似乎不起作用.

How can this be done with html connector adding dynamic content in relative url? I've created a parameter with default value, but it doesn't which I'm using in relative url, but it doesn't seem to work.

谢谢,托尼

这是伊凡(Ivan)的帖子:

Here's Ivan's post:

我正在研究ADF v2,该ADF v2需要读取JSON API并生成JSON文件.要求是...

"I am working on a ADF v2 which require to read an JSON API and produce JSON files. The requirements are...

1.该API在输出JSON中不会返回100条以上的记录,因此该请求必须进行迭代以从API中读取完整的数据.那么如何迭代呢?

1. The API doesn't return more than 100 records in output JSON hence the request has to iterate to read full data from API. So how to iterate?

2.每次迭代时都需要通过请求传递多个获取/过滤条件...说页码,当前日期等

2. Need to pass multiple fetch/filter criteria through request each time of iteration... say page number, current date etc

3.不想使用任何自定义活动

3. Don't want to use any custom activity

请您帮忙.



推荐答案

伊万,

请查看"ForEach"迭代操作:

Please take a look at the `ForEach` iteration operation:

Azure数据工厂中的ForEach活动

使用Azure数据工厂从HTTP终结点复制数据

与堆栈溢出相关的线程:

Stack Overflow Related Thread:

如何配置动态Azure数据工厂中的httpfile源?

如果您还有其他疑问,请告诉我们.另外,您能否将您提到的另一个MSDN线程链接到该线程.它可以帮助其他人找到解决方案.

Please let us know if you have additional questions. Also, could you please link the other MSDN thread you mentioned to this one. It helps other's find a solution. 

此致

迈克


这篇关于从带有HTTP连接器的Rest API动态读取JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆