Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitd402485

Browse files
committed
Merge pull request#545 from danberg/master
Webhook json is sent in the body of the POST, not as a form parameter
2 parents2f60b09 +2c2e472 commitd402485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎content/webhooks/configuring/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ setup might look something like this:
5252
require 'json'
5353

5454
post '/payload' do
55-
push = JSON.parse(params[:payload])
55+
push = JSON.parse(request.body.read)
5656
puts "I got some JSON: #{push.inspect}"
5757
end
5858

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp