Appsmith
Github
Discord
Appsmith Cloud
Community Forum
Search…
v1.2
Introduction
Getting Started
FAQs
Changelog
Core Concepts
Connecting to Databases
Connecting to APIs
Taking Inputs from Widgets
Running APIs on Page Load
Building The UI
Connecting UI & Logic
Access Control
Database Reference
Postgres
MongoDB
Firestore
MySQL
Redshift
Widget Reference
Button
Chart
Checkbox
Container
Datepicker
Dropdown
Filepicker
Form
Image
Input
Maps
Radio
Rich Text Editor
Tabs
Table
Text
Video
Function Reference
Run
Show Modal
Close Modal
Download
Show Alert
Navigate Page
Store Value
Copy To Clipboard
How To
How to upload to S3
Powered By
GitBook
Running APIs on Page Load
Some APIs need to be run on page load in order to fetch data to be displayed on the UI
If we connect an API response to a widget, Appsmith automatically runs that API on page load without any additional configuration being required.
To fetch a list of users to be displayed in a table, we only need to connect the getUsers API data to the Table widget
Click to expand
Previous
Taking Inputs from Widgets
Next - Core Concepts
Building The UI
Last modified
1yr ago
Copy link
Edit on GitHub