Reputation: 1
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?
Upvotes: 0
Views: 663
Reputation: 23782
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.
Upvotes: 1