Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to attach a file to webhook call? #29

Open
suther opened this issue Apr 10, 2023 · 1 comment
Open

Possible to attach a file to webhook call? #29

suther opened this issue Apr 10, 2023 · 1 comment

Comments

@suther
Copy link

suther commented Apr 10, 2023

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.

@serotonie
Copy link
Contributor

I would do it with Workflow external scripts.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants