nextcloud-webhooks
nextcloud-webhooks copied to clipboard
Possible to attach a file to webhook call?
Is it possible to attach a file to the external webhook call?
I want to create a webhook for "new pdf-files" in a given directory. If a new file is saved into this directory, it should be send to an external API (with attached file).
Looking forward for your suggestions how to archive this.
I would do it with Workflow external scripts.
curl -d @%f http://your.awesome.api/uploadfile
Or something like this.