Flutter Developer
Is it possible to create a database collection in Appwrite using REST API from flutter code?
Votes
0
Replies
6
Participants
Unknown
Messages
7
Flutter Developer
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
Flutter Developer
Thank You
Rank 4: Virtual Machine
You can via REST, on client or server. Just need to pass key
Rank 4: Virtual Machine
You can't via client side sdk, like @Maniac_Fighter explain. But if you use fetch from browser (or other), np
Rank 4: Virtual Machine
Nevertheless, it's not recommended to use API Key in frontend
Rank 4: Virtual Machine
If all is ok for you. Don't forget to add [SOLVED] at begin of your post title, by editing it