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
- AppwriteException - Transaction with the...
I am using "node-appwrite" module and I have successfully created transaction id but when passing it to tablesDB.createRow function with some other required dat...
- general_unauthorized_scope
localhost oauth not working. general_unauthorized_scope error showing. { "message": "User (role: guests) missing scopes ([\"account\"])", "code": 401, ...
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...