Is it possible to create a database collection in Appwrite using REST API from flutter code?
Creating collection from Client side SDK is prohibited due to security reasons. You can use the Server SDK for that (though its not recommend to use in the client apps)
One thing you can do is create a cloud function and you can execute this manually from client side
Thank You
You can via REST, on client or server. Just need to pass key
You can't via client side sdk, like @Maniac_Fighter explain. But if you use fetch from browser (or other), np
Nevertheless, it's not recommended to use API Key in frontend
If all is ok for you. Don't forget to add [SOLVED] at begin of your post title, by editing it
Recommended threads
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...