We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab012fb commit c8b24edCopy full SHA for c8b24ed
hooks/ruby/configuring-your-server/server.rb
@@ -2,6 +2,6 @@
2
require 'json'
3
4
post '/payload' do
5
- push = JSON.parse(params[:payload])
+ push = JSON.parse(request.body.read)
6
puts "I got some JSON: #{push.inspect}"
7
end
0 commit comments