Sha256: 01c498d5a0c44499d2f8277be506601ee88a4378cc095148b4d8ed69b924c1dd

Contents?: true

Size: 137 Bytes

Versions: 7

Compression:

Stored size: 137 Bytes

Contents

require 'sinatra'
require 'json'

post '/hook' do
    [
        request.env['CONTENT_TYPE'],
        request.body.read
    ].to_json
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/servers/plugins/webhook_notify.rb
arachni-1.6.1.2 spec/support/servers/plugins/webhook_notify.rb
arachni-1.6.1.1 spec/support/servers/plugins/webhook_notify.rb
arachni-1.6.1 spec/support/servers/plugins/webhook_notify.rb
arachni-1.6.0 spec/support/servers/plugins/webhook_notify.rb
arachni-1.5.1 spec/support/servers/plugins/webhook_notify.rb
arachni-1.5 spec/support/servers/plugins/webhook_notify.rb