โ02-25-2022 11:30 AM
I am trying to create recipe to call more than 1 http connector.
But facing issue while using multiple HTTP connection endpoints within 1 recipe.
only one connection work at a time.
please suggest me how to do it.
Thanks in advance
Solved! Go to Solution.
โ02-25-2022 12:14 PM
So all of these are totally different systems/APIs?
If answer is Yes, then I see 2 options
1. Use a callable function (go to next step => search callable recipe by workato) because if using callable function you will not hit the HTTP connector limit, basically you can have as many callables as you want.
a) Create a callable function for API 1 - use whatever authentication method required for this API, create parameters that you need to push to this callable recipe, call the API then return the result back to the MAIN recipe
b) repeat the same steps 4 more times until you have 5 callable functions, each calling their own api, accepting their own Parameters and return Result
2. Second option is to use HTTP to 5 different APIs but create a "generic" http connector which has "Authentication" NONE and authentication using HTTP headers manually for each call. This will be messy as its not very reusable. For reusability/Best practice I recommend option 1, use this option only as last resort, as pointed out by Joseph above.
โ02-25-2022 11:34 AM
Whats the issue?
I have recipes the have multiple http connectors to different systems like Bim360, Sharepoint and Forge
โ02-25-2022 11:36 AM
Classification: Confidential
Hi
You can use a secondary connector
Thanks,
Muthiah
โ02-25-2022 11:37 AM
how about calling another recipe with the second http connector?
โ02-25-2022 11:46 AM
the second http connector should help. Unless you need more than 2 in one Recipe