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
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- CDN not delivering correct bundle
My site 69b4cd410035893573dc is not delivering the latest deployed version via CDN, it seems stuck on versions from previoiu days, alternative links for the lat...