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
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...