nextcloud-webhooks icon indicating copy to clipboard operation
nextcloud-webhooks copied to clipboard

Possible to attach a file to webhook call?

Open suther opened this issue 2 years ago • 1 comments

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.

suther avatar Apr 10 '23 10:04 suther

I would do it with Workflow external scripts.

curl -d @%f http://your.awesome.api/uploadfile Or something like this.

serotonie avatar Apr 10 '23 13:04 serotonie