mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-03 17:58:31 +00:00
Add HTTP methods cli parameter
Allows to globally restrict HTTP methods. Fixes #248
This commit is contained in:
parent
3414f34025
commit
c38778ba62
3 changed files with 34 additions and 12 deletions
|
@ -13,6 +13,8 @@ Usage of webhook:
|
|||
path to the json file containing defined hooks the webhook should serve, use multiple times to load from different files
|
||||
-hotreload
|
||||
watch hooks file for changes and reload them automatically
|
||||
-http-methods string
|
||||
globally restrict allowed HTTP methods; separate methods with comma
|
||||
-ip string
|
||||
ip the webhook should serve hooks on (default "0.0.0.0")
|
||||
-key string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue