I am trying to display the response data from a post request but am unsure how to send the data to the repeating group. I have provided some images of my workflow and page.
I believe you need to store the data somewhere and then use that record as the data source.
Your repeating group doesn’t know where to get the data from - must give it a source.
Every time I’ve seen or used a repeating group—and I’m relatively new to Bubble!—it’s to display a list of Things, ie a data type that has already been committed to the database. In which case the RG’s type corresponds to something you’ve defined, and the data source is the subset of those types that you define in ‘do a search for’.
So after your API call (step 2) you need to create a new MatchResult (or list of them) which references the call: result of step 1 ImageMatch - MatchResults
The RG will pick up any new MatchResults, so you can delete steps 2 & 3.
Unless, of course, you don’t want these MatchResults saved to the db first—maybe you want to validate first for example.
hth
/tf
This topic was automatically closed after 70 days. New replies are no longer allowed.