mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
Instead of a WildValue, the JSON/Sentry webhook expect the request body to be a dict. For the JSON webhook, json.dumps accepts other types of input as well and the constraint is not necessary, but this serve as a good example of an alternative use of WebhookPayload to describe a payload that is intended to be parsed from the entire request body from JSON, into a type other than WildValue. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| doc.md | ||
| tests.py | ||
| view.py | ||