integrations: allow PUT method for webhook integration.

This commit is contained in:
Marcin Kuzminski 2018-12-19 15:13:35 +01:00
parent 03fcdf8f0b
commit 838d11c6cb

View file

@ -119,11 +119,11 @@ class WebhookSettingsSchema(colander.Schema):
colander.String(),
title=_('Call Method'),
description=_('Select if the Webhook call should be made '
'with POST or GET.'),
'with POST, GET or PUT.'),
default='post',
missing='',
widget=deform.widget.RadioChoiceWidget(
values=[('get', 'GET'), ('post', 'POST')],
values=[('get', 'GET'), ('post', 'POST'), ('put', 'PUT')],
inline=True
),
)