Skip to content

Add event to customize webhook request data #87

Description

@sanderpotjer

It would be great if an event can be added that allows to customize the data before a webhook request is queued up. For example to change the headers and body of the webhook request.

This would allow to set a hashed signature of the webhook as header, based on the body data. Like the commonly used hash_hmac('sha256', $rawRequestContent, 'secretKey'); header as signature.

Currently the webhooks plugin doesn't offer an option to set this, or offering an event to set via custom code. So by having the event this and other customizations can take place.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions