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 0abce2f commit 4146096Copy full SHA for 4146096
examples/echobot/app.rb
@@ -13,7 +13,7 @@ def client
13
14
signature = request.env['HTTP_X_LINE_SIGNATURE']
15
unless client.validate_signature(body, signature)
16
- error 400 do 'Bad Request' end
+ halt 400, {'Content-Type' => 'text/plain'}, 'Bad Request'
17
end
18
19
events = client.parse_events_from(body)
examples/kitchensink/app.rb
@@ -40,7 +40,7 @@ def reply_content(event, messages)
40
41
42
43
44
45
46
0 commit comments