mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00: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.
1.1 KiB
1.1 KiB