More details on how to create webhooks with caddy. I use it to trigger Hugo builds, but can be used for any command line job.
https://blog.ghostletters.xyz/notes/2020/4/4/
@ghost_letters Whoa, this is very straightforward using Caddy (as expected).
I'd probably add some BasicAuth, but this is a nice way to call a webhook from an NPM script for example in the terminal. Great post! 👍
@oedmarap thanks, glad you like it.
Yeah, depending on what the hook does, basic auth is a very good addition.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.
@ghost_letters Whoa, this is very straightforward using Caddy (as expected).
I'd probably add some BasicAuth, but this is a nice way to call a webhook from an NPM script for example in the terminal. Great post! 👍