How to refresh an external API?

I need to refresh a call to an external API after certain actions.

I tried to use “Display data”, but it does not work: Image 2023-02-17 at 3.32.24 PM

“Refresh Page” works, but I would rather avoid that.

I have seen the header cache technique…is that STILL the only way to do this?

In certain circumstances the results of API calls are cached (by Bubble, not in general) so you add a cache busting parameter to your API call (an unused param where you just shove Current Date/Time to make the API call appear unique to Bubble).

6 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.