Rank 3: Container
if there is a way an http event can trigger that?
eg: GET /v1/functions/myFuntion and the function responds then?
Votes
1
Replies
5
Participants
Unknown
Messages
6
Rank 3: Container
if there is a way an http event can trigger that?
eg: GET /v1/functions/myFuntion and the function responds then?
Rank 2: Process
Probably, this is what you need https://appwrite.io/docs/client/functions?sdk=web-default#functionsCreateExecution
Rank 3: Container
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)
Rank 3: Container
POST: /v1/functions/{functionId}/executions I suppose this end point
Rank 3: Container
thank you so much this was great :)