gosparkpost icon indicating copy to clipboard operation
gosparkpost copied to clipboard

Support parsing JSON-encoded "relay webhooks" messages

Open yargevad opened this issue 9 years ago • 2 comments

yargevad avatar Jan 11 '16 19:01 yargevad

This patch doesn't work (without some extra glue) because the relay_message, uh, messages don't have a "type". I emailed support and was told this was intentional.

abh avatar Apr 26 '16 04:04 abh

You're right that extra glue is currently needed to parse events sent to relay webhook endpoints, since the current auto-parsing function calls them Unknown afaict.

yargevad avatar Apr 26 '16 16:04 yargevad