Goal: I have a "recordings" table in my Retool DB with "download_url" and "download_url_segment" columns (the download_url includes the base URL and the download_url_segment is just the portion that is different for each row). I want to:
- Use either of the two url columns to dynamically populate the URL of a REST API GET call.
- Return the data from the GET call.
- Loop through all the rows, doing a separate API call to each download_url.
Mainly I am just having a hard time figuring out how to dynamically populate the URL of a REST API call since resource queries require absolute URLs.
Steps: I have a DB query that returns the download_urls/download_url_segments as an array, and a REST API resource configured with the base URL, but I don't know what to do from that point.
This seems like it should be relatively straight forward, but I can't figure it out! Any help would be greatly appreciated!