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
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...