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
- Excessive usage of cloud functions is sl...
I have made almost all my requests through cloud functions and jwt , due to security fears of a user editing a field he is not supposed to . This unfortunately...
- Using Binary Log with Appwrite
If I can remember correctly appwrite uses mariaDB as the underlying database. If so could I use mariaDB’s binary log to see database operations from appwrite?
- Retrieving Data From Backups
Hiya, I have a user requesting for data they accidentally deleted. I don't have document history built into my app. Is there a way to extract data from the auto...