Rank 2: Process
Basically what I want to do is have a webhook to listen to some even and create a document in the Model collection in my database with some data coming from the payload.
Votes
0
Replies
6
Participants
Unknown
Messages
7
Rank 2: Process
Basically what I want to do is have a webhook to listen to some even and create a document in the Model collection in my database with some data coming from the payload.
That's essentially an Appwrite Function. However, the limitation right now is the request needs to be in a very specific format (headers and body).
The workaround is to put something in front to translate the request. you can use something like this: https://github.com/BoolCode/appwrite-funcover. In the next version of Appwrite, you won't need this.
Rank 4: Virtual Machine
I appreciate you sir @Steven
Rank 4: Virtual Machine
but @Steven
why an endpoint before reaching the cloud function?
Please create a new post
Rank 4: Virtual Machine
Okay @Steven
Rank 4: Virtual Machine
I just did @Steven