Such 60 requests per second are just per user, so you can have thousands of executions
In the vast majority of cases that should be enough, however in some applications like server side triggering (for example, a server triggers multiple times a function, exceeding 60 requests) in such case you should use server side code with an API key who will not be limited
what is the best way to create an Api for users? Functions or fastAPI?
Now we do!
Functions!
Appwrite functions now support domains, making them RESTful
Nice
π
Is it in the cloud?
Yep!
RESTful functions were introduced in 1.4.
Appwrite cloud is on 1.4.3, which means it's available π
Ok so this is restful endpoint for cloud func here?
Yep exactly
Nice
Was wondering what that is
Wasn't really obvious at first π
Need to write issue for feature on this. π
Yeaahhhhh
Yeah, you can even have custom domain for individual functions
How can I proper curl an function by domain? I am trying following this example:
curl -X POST https://64d4d22db370ae41a32e.appwrite.global
\
-H "X-Custom-Header: 123"
\
-H "Content-Type: application/json"
\
-d '{"data":"this is json data"}'
from here: https://appwrite.io/docs/products/functions/execution#permission
adding in the header: X-Appwrite-Key X-Appwrite-Project
but I am getting: Execution error: No permissions provided for action
the api key has all rigths on functions section
what's the Execute Access?
Recommended threads
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...