GET — list residents
This page imports the
GET
handler from
/api/residents/
and calls it directly — no HTTP round-trip.
Try the dynamic API route too: /api/residents/2
This page imports the
GET
handler from
/api/residents/
and calls it directly — no HTTP round-trip.
Try the dynamic API route too: /api/residents/2