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.
I appreciate you sir @Steven
but @Steven why an endpoint before reaching the cloud function?
Please create a new post
Okay @Steven
I just did @Steven
Recommended threads
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Can Sites deployments be limited to the ...
Hey all! I’m using Appwrite Cloud Sites with GitHub connected. Right now, Appwrite seems to build for every push and PR, not just for my production branch (main...