| 1 | { |
| 2 | "http_interactions": [ |
| 3 | { |
| 4 | "recorded_at": "2016-03-22T02:18:37", |
| 5 | "request": { |
| 6 | "body": { |
| 7 | "encoding": "utf-8", |
| 8 | "string": "grant_type=password&password=<PASSWORD>&username=<USERNAME>" |
| 9 | }, |
| 10 | "headers": { |
| 11 | "Accept": "*/*", |
| 12 | "Accept-Encoding": "gzip, deflate", |
| 13 | "Authorization": "Basic <BASIC_AUTH>", |
| 14 | "Connection": "keep-alive", |
| 15 | "Content-Length": "57", |
| 16 | "Content-Type": "application/x-www-form-urlencoded", |
| 17 | "User-Agent": "prawcore:test (by /u/bboe) prawcore/0.0.8" |
| 18 | }, |
| 19 | "method": "POST", |
| 20 | "uri": "https://www.reddit.com/api/v1/access_token" |
| 21 | }, |
| 22 | "response": { |
| 23 | "body": { |
| 24 | "base64_string": "H4sIAAAAAAAAA6tWSkxOTi0uji/Jz07NU7JSUDI3NjCyMDPXjYzyjo8sCc30zE41D/IxNshLzHJLdHH1qUhNV9JRUAKrjy+pLEgFaUpKTSxKLQKJp1YUZBalFsdnggwzNjMw0FFQKk7OhyjTUqoFAKNHbOtxAAAA", |
| 25 | "encoding": "UTF-8", |
| 26 | "string": "" |
| 27 | }, |
| 28 | "headers": { |
| 29 | "CF-RAY": "2876276d91e139ee-PHX", |
| 30 | "Connection": "keep-alive", |
| 31 | "Content-Encoding": "gzip", |
| 32 | "Content-Type": "application/json; charset=UTF-8", |
| 33 | "Date": "Tue, 22 Mar 2016 02:18:37 GMT", |
| 34 | "Server": "cloudflare-nginx", |
| 35 | "Set-Cookie": "__cfduid=dd96ea2981f3ad6ab5250a89b33e0ace81458613117; expires=Wed, 22-Mar-17 02:18:37 GMT; path=/; domain=.reddit.com; HttpOnly", |
| 36 | "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload", |
| 37 | "Transfer-Encoding": "chunked", |
| 38 | "X-Moose": "majestic", |
| 39 | "cache-control": "max-age=0, must-revalidate", |
| 40 | "x-content-type-options": "nosniff", |
| 41 | "x-frame-options": "SAMEORIGIN", |
| 42 | "x-xss-protection": "1; mode=block" |
| 43 | }, |
| 44 | "status": { |
| 45 | "code": 200, |
| 46 | "message": "OK" |
| 47 | }, |
| 48 | "url": "https://www.reddit.com/api/v1/access_token" |
| 49 | } |
| 50 | }, |
| 51 | { |
| 52 | "recorded_at": "2016-03-22T02:18:38", |
| 53 | "request": { |
| 54 | "body": { |
| 55 | "encoding": "utf-8", |
| 56 | "string": "" |
| 57 | }, |
| 58 | "headers": { |
| 59 | "Accept": "*/*", |
| 60 | "Accept-Encoding": "gzip, deflate", |
| 61 | "Authorization": "bearer 7302867-YZK_YtUiIke7RL30najFaDELxeg", |
| 62 | "Connection": "keep-alive", |
| 63 | "Cookie": "loid=5ja5onM1PufSns9XKR; loidcreated=2016-03-22T02%3A18%3A37.126Z; __cfduid=dd96ea2981f3ad6ab5250a89b33e0ace81458613117", |
| 64 | "User-Agent": "prawcore:test (by /u/bboe) prawcore/0.0.8" |
| 65 | }, |
| 66 | "method": "GET", |
| 67 | "uri": "https://oauth.reddit.com/user/spez/gilded/given?raw_json=1" |
| 68 | }, |
| 69 | "response": { |
| 70 | "body": { |
| 71 | "encoding": "UTF-8", |
| 72 | "string": "{\"error\": 403}" |
| 73 | }, |
| 74 | "headers": { |
| 75 | "CF-RAY": "28762776009a3988-PHX", |
| 76 | "Connection": "keep-alive", |
| 77 | "Content-Length": "14", |
| 78 | "Content-Type": "application/json; charset=UTF-8", |
| 79 | "Date": "Tue, 22 Mar 2016 02:18:38 GMT", |
| 80 | "Server": "cloudflare-nginx", |
| 81 | "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload", |
| 82 | "X-Moose": "majestic", |
| 83 | "access-control-allow-origin": "*", |
| 84 | "access-control-expose-headers": "X-Reddit-Tracking, X-Moose", |
| 85 | "cache-control": "private, s-maxage=0, max-age=0, must-revalidate", |
| 86 | "expires": "-1", |
| 87 | "x-content-type-options": "nosniff", |
| 88 | "x-frame-options": "SAMEORIGIN", |
| 89 | "x-ratelimit-remaining": "599.0", |
| 90 | "x-ratelimit-reset": "82", |
| 91 | "x-ratelimit-used": "1", |
| 92 | "x-reddit-tracking": "https://pixel.redditmedia.com/pixel/of_destiny.png?v=LeF3GiZkLAxxG193GpzG2BpDSvZi%2FfC58vhP4bmdK2uNq6qLGv3kOjAklpSOQCDdmJY7CMNNZCbPA51aRHn0eqlwBgPbSN8u", |
| 93 | "x-ua-compatible": "IE=edge", |
| 94 | "x-xss-protection": "1; mode=block" |
| 95 | }, |
| 96 | "status": { |
| 97 | "code": 403, |
| 98 | "message": "Forbidden" |
| 99 | }, |
| 100 | "url": "https://oauth.reddit.com/user/spez/gilded/given?raw_json=1" |
| 101 | } |
| 102 | } |
| 103 | ], |
| 104 | "recorded_with": "betamax/0.5.1" |
| 105 | } |