I am doing this using 'Copy Activity'. Is there any other activity that can better perform this operation? Example REST API URL: https://xzy.com/servicename?name=tom&age=50&city=boston& ...... I am putting ' https://xzy.com/servicename/ ' as the base URL for the linked service. How to pass the query parameters 'name=tom' and 'age=50' and 'city=boston' to the base url in the azure data factory to get the response? Will the parameters be passed at linked service, dataset or pipeline level?
It seems that your request method is Get
. You could only set the query parameters behind base url directly.
For example,i test rest api from this sample website :
https://jsonplaceholder.typicode.com/comments?postId=1
Test result:
If your request method is Post
,i suppose you have to define the parameters in the Body
part.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.