Forum Academy Marketplace Showcase Pricing Features

Chamar API GET no bubble

Olá boa tarde, criei uma api Get que conecta no Sheet, porém ela só busca as informações quando carrego a página, se preciso de novas informações, então preciso recarregar a página. Sabem me informar se tem como eu criar um botão que sempre que clicar nele ele rebusca as informações da API?

Hey @rodofaremp

Thanks for reaching out and excellent question! There are probably a couple ways you could do this! But what I might recommend would be to create a button like you described with a workflow that potentially uses a display data action to update the data you’re displaying on the page. Display data would work great for a single item you’re attempting to display while a Display list action would be what you’d want to use if your call will return a list of items.

Keep in mind, depending on where you’re originally displaying the result of the initial call, you could alternatively reset the group or repeating group it’s displayed in which could have a similar effect of making the call again.

Give it a try and don’t hesitate to reach out to us directly at [email protected] with any additional questions.