if there is a way an http event can trigger that?
eg: GET /v1/functions/myFuntion and the function responds then?
Probably, this is what you need https://appwrite.io/docs/client/functions?sdk=web-default#functionsCreateExecution
So basically each time the client hits that end point the function code will run?
Yep, exactly 😇 Keep in mind thisrequires you to use specific method (POST), provide specific headers (x-appwrite-project), and apply specific body structure (json with data string)
POST: /v1/functions/{functionId}/executions I suppose this end point
thank you so much this was great :)
Recommended threads
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?