Could you clarify the reason for not wanting to use a service node? Also share the full logic implemented in script node so that we can understand the reason for error.
Thank you for your message, Indeed I have API where I have multiple funds, if I hit the link below
{{url}}/api/allFunds
I will get the fund list as [“Fund1”, “Fund2”, “Fund3”]
In the future, the number of funds will increase.
Now I want to loop through all Funds and Get The Fund Data from the below API
{{url}}/api/fundData/Fund1
Indeed, I want to create a loop in the script node where I would like to run the Get request for all funds.
If it is possible to get the API data in the script node instead of creating a service node.