---
|
|
http_interactions:
|
|
- request:
|
|
method: post
|
|
uri: https://slack.com/api/auth.test
|
|
body:
|
|
encoding: UTF-8
|
|
string: token=token
|
|
headers:
|
|
Accept:
|
|
- application/json; charset=utf-8
|
|
User-Agent:
|
|
- Slack Ruby Gem 1.1.1
|
|
Content-Type:
|
|
- application/x-www-form-urlencoded
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Access-Control-Allow-Origin:
|
|
- '*'
|
|
Cache-Control:
|
|
- private, no-cache, no-store, must-revalidate
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Tue, 28 Apr 2015 12:55:23 GMT
|
|
Expires:
|
|
- Mon, 26 Jul 1997 05:00:00 GMT
|
|
Pragma:
|
|
- no-cache
|
|
Server:
|
|
- Apache
|
|
Strict-Transport-Security:
|
|
- max-age=31536000; includeSubDomains; preload
|
|
Vary:
|
|
- Accept-Encoding
|
|
X-Accepted-Oauth-Scopes:
|
|
- identify
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Oauth-Scopes:
|
|
- identify,read,post,client
|
|
X-Xss-Protection:
|
|
- '0'
|
|
Content-Length:
|
|
- '128'
|
|
Connection:
|
|
- keep-alive
|
|
body:
|
|
encoding: UTF-8
|
|
string: '{"ok":true,"url":"https:\/\/math.slack.com\/","team":"calcteam","user":"calcuser","team_id":"TDEADBEEF","user_id":"UBAADFOOD"}'
|
|
http_version:
|
|
recorded_at: Tue, 28 Apr 2015 12:55:22 GMT
|
|
- request:
|
|
method: post
|
|
uri: https://slack.com/api/rtm.start
|
|
body:
|
|
encoding: UTF-8
|
|
string: token=token
|
|
headers:
|
|
Accept:
|
|
- application/json; charset=utf-8
|
|
User-Agent:
|
|
- Slack Ruby Gem 1.1.1
|
|
Content-Type:
|
|
- application/x-www-form-urlencoded
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Access-Control-Allow-Origin:
|
|
- '*'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Tue, 28 Apr 2015 21:41:33 GMT
|
|
Server:
|
|
- Apache
|
|
Strict-Transport-Security:
|
|
- max-age=31536000; includeSubDomains; preload
|
|
Vary:
|
|
- Accept-Encoding
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Xss-Protection:
|
|
- '0'
|
|
Content-Length:
|
|
- '55'
|
|
Connection:
|
|
- keep-alive
|
|
body:
|
|
encoding: UTF-8
|
|
string: '{"ok":false,"error":"invalid_auth"}'
|
|
http_version:
|
|
recorded_at: Tue, 28 Apr 2015 21:41:33 GMT
|
|
recorded_with: VCR 2.9.3
|