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
- [SOLVED] Query.search() returning all ro...
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...