Interaction with dbs

1. Assuming you have a Function at /functions/api/formSubmit you should fetch /api/formSubmit (notice the lack of the /functions part)
2. a heads-up that regular databases are not compatible with Workers or Functions, you'd need to use a database that has an HTTP interface such as Supabase or the newly opened #d1-open-alpha
Was this page helpful?