REST API manual fetch possible?

I added a REST API resource and a page with a list that connects to the resource.
When loading the page the data from the resource is automatically fetched and populates the list.
Is it possible to manually fetch the data e.g. after clicking a button?

Hi August,

Yes, you can set the action flow for a button to call a getRecord or getRecords and set the app/page/data variable needed. Since you’ve bound your list of items to the variable, if you update that variable, then so does your list.

Here’s some more detail from the docs, but there is also some good youtube videos on button actions and APIs.: https://docs.appgyver.com/overview/the-app-builder/logic-canvas

2 Likes

Thanks, got it working now!

1 Like