Reputation: 37
I have similar request, I have to invoke an API with multiple endpoints. With the same API key. Example -
Upvotes: 0
Views: 707
Reputation: 5271
You can use multiple setups here, and since you have the same key for all api`s you should put this into Variable, parameter context or even as a new attibute.
1 - using attribute :
You trigger the flow with generateflowfile >> updateattribute(create the key attribute - that you pass to your url)
2 - You ad a variable to you PG / canvas and use it the same way you used the attribute
3 - here is how you use the key attribute/variable in yout http request
There are more ways to tackle this, but this would a basic option
Upvotes: 1