从带有HTTP连接器的Rest API动态读取JSON [英] Read JSON from Rest API with http connector dynamically
问题描述
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:
与堆栈溢出相关的线程:
Stack Overflow Related Thread:
如果您还有其他疑问,请告诉我们.另外,您能否将您提到的另一个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屋!