mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 09:12:58 -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'
|
NAME = 'Webhook'
|
||||||
_DEFAULT_CONFIG = {'hook': '',
|
_DEFAULT_CONFIG = {'hook': '',
|
||||||
'method': ''
|
'method': 'POST'
|
||||||
}
|
}
|
||||||
|
|
||||||
def agent_notify(self, subject='', body='', action='', **kwargs):
|
def agent_notify(self, subject='', body='', action='', **kwargs):
|
||||||
|
@ -3655,8 +3655,7 @@ class WEBHOOK(Notifier):
|
||||||
'name': 'webhook_method',
|
'name': 'webhook_method',
|
||||||
'description': 'The Webhook HTTP request method.',
|
'description': 'The Webhook HTTP request method.',
|
||||||
'input_type': 'select',
|
'input_type': 'select',
|
||||||
'select_options': {'': '',
|
'select_options': {'GET': 'GET',
|
||||||
'GET': 'GET',
|
|
||||||
'POST': 'POST',
|
'POST': 'POST',
|
||||||
'PUT': 'PUT',
|
'PUT': 'PUT',
|
||||||
'DELETE': 'DELETE'}
|
'DELETE': 'DELETE'}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue