Handling of binary data in webhook

How can I receive raw content from the webhook?

Background:
I have a webhook that should receive an audio file (*.ogg). If I test the webhook I only receive the header values but no content. If I enable the flag for “Raw Body” I receive an exception.

webhook.site test receives the following as raw content:

Ah yes sorry, I guess that is then currently not possible. Was until now never needed, so never looked into it. I have to check how complicated it is to add.

1 Like

Thanks a lot @RicardoE105 for adding this.

Got released with [email protected]

For it to work set your webhook to method “POST” and then add under “Options” -> “Binary Data” and set it to true. It should then work as expected

1 Like

The new flag is working. I receive the binary data. However now I don’t receive the header values anymore :frowning:

Ah yes that was an oversight. That will be fixed in the next version.

1 Like

Fix got committed and will be released with the next version.

Got released with [email protected]

1 Like

Can confirm. it works :slight_smile:

1 Like