mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Default webhook notification method to POST
This commit is contained in:
parent
05a16bb199
commit
359776d48a
1 changed files with 2 additions and 3 deletions
|
@ -3609,7 +3609,7 @@ class WEBHOOK(Notifier):
|
|||
"""
|
||||
NAME = 'Webhook'
|
||||
_DEFAULT_CONFIG = {'hook': '',
|
||||
'method': ''
|
||||
'method': 'POST'
|
||||
}
|
||||
|
||||
def agent_notify(self, subject='', body='', action='', **kwargs):
|
||||
|
@ -3655,8 +3655,7 @@ class WEBHOOK(Notifier):
|
|||
'name': 'webhook_method',
|
||||
'description': 'The Webhook HTTP request method.',
|
||||
'input_type': 'select',
|
||||
'select_options': {'': '',
|
||||
'GET': 'GET',
|
||||
'select_options': {'GET': 'GET',
|
||||
'POST': 'POST',
|
||||
'PUT': 'PUT',
|
||||
'DELETE': 'DELETE'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue