chatwork_webhook_verify 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +26 -3
- data/lib/chatwork_webhook_verify/version.rb +1 -1
- data/spec/dummy/config/environments/test.rb +1 -1
- metadata +16 -31
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +0 -122
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05c2c7f3356da48a495f43e20927f7050d7205ee755f96ff03d130f7aadb87c2
|
4
|
+
data.tar.gz: d25f567f2a0953e15cef0de29674b759c1072f63ec95c9ad9bd61015eba9c144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5def3f84618e6f1205e76ce663703a0e3a2d082c549a8ab4d8018c7e65fe3f6aeb79a73f840ce2328ad0bbe08d3c5141fc16872a6d5dc27d41d21818b36d559
|
7
|
+
data.tar.gz: b82011db03e6f1837b5e7c61667a7c5ad8c627ef5c83d4638b4d253c92e0ed41d39da2d9602fb0809fef9146021f621bd63d7eb6951e6a7e8f57f46df9ee5587
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# ChatworkWebhookVerify
|
2
2
|
Verify ChatWork webhook signature
|
3
3
|
|
4
|
-
[](https://badge.fury.io/rb/chatwork_webhook_verify)
|
5
|
+
[](https://github.com/sue445/chatwork_webhook_verify/actions?query=workflow%3Atest)
|
5
6
|
[](https://codeclimate.com/github/sue445/chatwork_webhook_verify/maintainability)
|
6
7
|
[](https://coveralls.io/github/sue445/chatwork_webhook_verify?branch=master)
|
7
|
-
[](https://gemnasium.com/github.com/sue445/chatwork_webhook_verify)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
Add this line to your application's Gemfile:
|
@@ -45,8 +45,13 @@ ChatworkWebhookVerify.verify!(token: token, body: body, signature: signature)
|
|
45
45
|
call `verify_chatwork_webhook_signature!` in your controller
|
46
46
|
|
47
47
|
### Example 1
|
48
|
+
```ruby
|
49
|
+
# config/initializers/chatwork_webhook_verify.rb
|
50
|
+
ChatworkWebhookVerify.config.token = ENV["CHATWORK_WEBHOOK_TOKEN"]
|
51
|
+
```
|
48
52
|
|
49
53
|
```ruby
|
54
|
+
# app/controllers/webhook_controller.rb
|
50
55
|
class WebhookController < ApplicationController
|
51
56
|
# `ChatworkWebhookVerify.config.token` is used
|
52
57
|
before_action :verify_chatwork_webhook_signature!
|
@@ -54,8 +59,8 @@ end
|
|
54
59
|
```
|
55
60
|
|
56
61
|
### Example 2
|
57
|
-
|
58
62
|
```ruby
|
63
|
+
# app/controllers/webhook_controller.rb
|
59
64
|
class WebhookController < ApplicationController
|
60
65
|
before_action :verify_chatwork_webhook_signature_with_own_token!
|
61
66
|
|
@@ -65,6 +70,24 @@ class WebhookController < ApplicationController
|
|
65
70
|
end
|
66
71
|
```
|
67
72
|
|
73
|
+
## for Sinatra
|
74
|
+
```ruby
|
75
|
+
# app.rb
|
76
|
+
class App < Sinatra::Base
|
77
|
+
before "/webhook" do
|
78
|
+
token = ENV["CHATWORK_WEBHOOK_TOKEN"]
|
79
|
+
body = request.body.read
|
80
|
+
signature = request.env["HTTP_X_CHATWORKWEBHOOKSIGNATURE"]
|
81
|
+
|
82
|
+
ChatworkWebhookVerify.verify!(token: token, body: body, signature: signature)
|
83
|
+
end
|
84
|
+
|
85
|
+
post "/webhook" do
|
86
|
+
"ok"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
```
|
90
|
+
|
68
91
|
## Configuration
|
69
92
|
```ruby
|
70
93
|
ChatworkWebhookVerify.config.token = ENV["CHATWORK_WEBHOOK_TOKEN"]
|
@@ -15,7 +15,7 @@ Rails.application.configure do
|
|
15
15
|
# Configure public file server for tests with Cache-Control for performance.
|
16
16
|
config.public_file_server.enabled = true
|
17
17
|
config.public_file_server.headers = {
|
18
|
-
'Cache-Control' => "public, max-age
|
18
|
+
'Cache-Control' => "public, max-age=3600"
|
19
19
|
}
|
20
20
|
|
21
21
|
# Show full error reports and disable caching.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chatwork_webhook_verify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: codeclimate-test-reporter
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.0
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: coveralls
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,16 +98,16 @@ dependencies:
|
|
112
98
|
name: simplecov
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- - "
|
101
|
+
- - "<"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
103
|
+
version: 0.18.0
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- - "
|
108
|
+
- - "<"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
110
|
+
version: 0.18.0
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: yard
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,15 +170,17 @@ files:
|
|
184
170
|
- spec/dummy/config/routes.rb
|
185
171
|
- spec/dummy/config/secrets.yml
|
186
172
|
- spec/dummy/config/spring.rb
|
187
|
-
- spec/dummy/log/development.log
|
188
|
-
- spec/dummy/log/test.log
|
189
173
|
- spec/rails_helper.rb
|
190
174
|
- spec/spec_helper.rb
|
191
175
|
homepage: https://github.com/sue445/chatwork_webhook_verify
|
192
176
|
licenses:
|
193
177
|
- MIT
|
194
|
-
metadata:
|
195
|
-
|
178
|
+
metadata:
|
179
|
+
homepage_uri: https://github.com/sue445/chatwork_webhook_verify
|
180
|
+
source_code_uri: https://github.com/sue445/chatwork_webhook_verify
|
181
|
+
changelog_uri: https://github.com/sue445/chatwork_webhook_verify/blob/master/CHANGELOG.md
|
182
|
+
rubygems_mfa_required: 'true'
|
183
|
+
post_install_message:
|
196
184
|
rdoc_options: []
|
197
185
|
require_paths:
|
198
186
|
- lib
|
@@ -207,14 +195,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
195
|
- !ruby/object:Gem::Version
|
208
196
|
version: '0'
|
209
197
|
requirements: []
|
210
|
-
|
211
|
-
|
212
|
-
signing_key:
|
198
|
+
rubygems_version: 3.2.22
|
199
|
+
signing_key:
|
213
200
|
specification_version: 4
|
214
201
|
summary: Verify ChatWork webhook signature
|
215
202
|
test_files:
|
216
203
|
- spec/chatwork_webhook_verify/controller_extension_spec.rb
|
217
204
|
- spec/chatwork_webhook_verify_spec.rb
|
205
|
+
- spec/dummy/Rakefile
|
218
206
|
- spec/dummy/app/assets/config/manifest.js
|
219
207
|
- spec/dummy/app/assets/javascripts/application.js
|
220
208
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -245,8 +233,5 @@ test_files:
|
|
245
233
|
- spec/dummy/config/secrets.yml
|
246
234
|
- spec/dummy/config/spring.rb
|
247
235
|
- spec/dummy/config.ru
|
248
|
-
- spec/dummy/log/development.log
|
249
|
-
- spec/dummy/log/test.log
|
250
|
-
- spec/dummy/Rakefile
|
251
236
|
- spec/rails_helper.rb
|
252
237
|
- spec/spec_helper.rb
|
File without changes
|
data/spec/dummy/log/test.log
DELETED
@@ -1,122 +0,0 @@
|
|
1
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:03:41 +0900
|
2
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:03:41 +0900
|
3
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:04:22 +0900
|
4
|
-
Processing by WebhookController#test as HTML
|
5
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
6
|
-
Completed 200 OK in 1ms (Views: 0.1ms)
|
7
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:04:22 +0900
|
8
|
-
Processing by WebhookController#test as HTML
|
9
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
10
|
-
Completed 200 OK in 0ms (Views: 0.1ms)
|
11
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:06:02 +0900
|
12
|
-
Processing by WebhookController#test as HTML
|
13
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
14
|
-
Completed 200 OK in 1ms (Views: 0.3ms)
|
15
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:06:02 +0900
|
16
|
-
Processing by WebhookController#test as HTML
|
17
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
18
|
-
Completed 200 OK in 0ms (Views: 0.2ms)
|
19
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:06:54 +0900
|
20
|
-
Processing by WebhookController#test as HTML
|
21
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
22
|
-
Completed 200 OK in 1ms (Views: 0.3ms)
|
23
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:06:54 +0900
|
24
|
-
Processing by WebhookController#test as HTML
|
25
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
26
|
-
Completed 200 OK in 0ms (Views: 0.2ms)
|
27
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:07:09 +0900
|
28
|
-
Processing by WebhookController#test as HTML
|
29
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
30
|
-
Completed 200 OK in 0ms (Views: 0.1ms)
|
31
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:07:09 +0900
|
32
|
-
Processing by WebhookController#test as HTML
|
33
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
34
|
-
Completed 200 OK in 0ms (Views: 0.1ms)
|
35
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:08:55 +0900
|
36
|
-
Processing by WebhookController#test as HTML
|
37
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
38
|
-
Completed 500 Internal Server Error in 14ms
|
39
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:08:55 +0900
|
40
|
-
Processing by WebhookController#test as HTML
|
41
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
42
|
-
Completed 500 Internal Server Error in 17ms
|
43
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:11:37 +0900
|
44
|
-
Processing by WebhookController#test as HTML
|
45
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
46
|
-
Completed 500 Internal Server Error in 7ms
|
47
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:11:37 +0900
|
48
|
-
Processing by WebhookController#test as HTML
|
49
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
50
|
-
Completed 500 Internal Server Error in 7ms
|
51
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:11:54 +0900
|
52
|
-
Processing by WebhookController#test as HTML
|
53
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
54
|
-
Completed 200 OK in 1ms (Views: 0.1ms)
|
55
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:11:54 +0900
|
56
|
-
Processing by WebhookController#test as HTML
|
57
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
58
|
-
Completed 500 Internal Server Error in 1ms
|
59
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:25:56 +0900
|
60
|
-
Processing by WebhookController#test as HTML
|
61
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
62
|
-
Completed 500 Internal Server Error in 0ms
|
63
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:25:56 +0900
|
64
|
-
Processing by WebhookController#test as HTML
|
65
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
66
|
-
Completed 500 Internal Server Error in 0ms
|
67
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:32:08 +0900
|
68
|
-
Processing by WebhookController#test as HTML
|
69
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
70
|
-
Completed 200 OK in 1ms (Views: 0.2ms)
|
71
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:32:08 +0900
|
72
|
-
Processing by WebhookController#test as HTML
|
73
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
74
|
-
Completed 500 Internal Server Error in 1ms
|
75
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:33:35 +0900
|
76
|
-
Processing by WebhookController#test as HTML
|
77
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
78
|
-
Completed 200 OK in 1ms (Views: 0.2ms)
|
79
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:33:35 +0900
|
80
|
-
Processing by WebhookController#test as HTML
|
81
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
82
|
-
Completed 500 Internal Server Error in 1ms
|
83
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:34:45 +0900
|
84
|
-
Processing by WebhookController#test as HTML
|
85
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
86
|
-
Completed 200 OK in 1ms (Views: 0.2ms)
|
87
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:34:45 +0900
|
88
|
-
Processing by WebhookController#test as HTML
|
89
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
90
|
-
Completed 500 Internal Server Error in 1ms
|
91
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:48:17 +0900
|
92
|
-
Processing by WebhookController#test as HTML
|
93
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
94
|
-
Completed 200 OK in 1ms (Views: 0.1ms)
|
95
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:48:17 +0900
|
96
|
-
Processing by WebhookController#test as HTML
|
97
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
98
|
-
Completed 500 Internal Server Error in 1ms
|
99
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:48:39 +0900
|
100
|
-
Processing by WebhookController#test as HTML
|
101
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
102
|
-
Completed 500 Internal Server Error in 15ms
|
103
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:48:39 +0900
|
104
|
-
Processing by WebhookController#test as HTML
|
105
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
106
|
-
Completed 500 Internal Server Error in 14ms
|
107
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:52:56 +0900
|
108
|
-
Processing by WebhookController#test as HTML
|
109
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
110
|
-
Completed 200 OK in 1ms (Views: 0.2ms)
|
111
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:52:56 +0900
|
112
|
-
Processing by WebhookController#test as HTML
|
113
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
114
|
-
Completed 500 Internal Server Error in 1ms
|
115
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:56:24 +0900
|
116
|
-
Processing by WebhookController#test as HTML
|
117
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
118
|
-
Completed 200 OK in 1ms (Views: 0.1ms)
|
119
|
-
Started POST "/webhook" for 127.0.0.1 at 2018-01-24 01:56:24 +0900
|
120
|
-
Processing by WebhookController#test as HTML
|
121
|
-
Parameters: {"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}, "webhook"=>{"webhook_setting_id"=>"581", "webhook_event_type"=>"mention_to_me", "webhook_event_time"=>1516629767, "webhook_event"=>{"from_account_id"=>2861671, "to_account_id"=>2739132, "room_id"=>93207172, "message_id"=>"1007287971738591232", "body"=>"[rp aid=2739132 to=93207172-1007287785163345920] sue445\ntest", "send_time"=>1516629766, "update_time"=>0}}}
|
122
|
-
Completed 500 Internal Server Error in 1ms
|