This is a fork of the default Webhook agent that accepts raw requests. It means that this agent will return raw request body instead of attempting to parse it as JSON or a query.
The exaple event is provided below.
{
"body": "<p>Hello World!</p>",
"query": {
"param1": "test",
"param2": "123"
}
}
This gem is run as part of the Huginn project. If you haven't already, follow the Getting Started instructions there.
Add this string to your Huginn's .env ADDITIONAL_GEMS
configuration:
huginn_raw_webhook_agent(github: TheDrHax/huginn_raw_webhook_agent)
- Fork it ( https://github.com/TheDrHax/huginn_raw_webhook_agent/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request