| 1 | { |
| 2 | "http_interactions": [ |
| 3 | { |
| 4 | "recorded_at": "2016-02-14T20:31:23", |
| 5 | "request": { |
| 6 | "body": { |
| 7 | "encoding": "utf-8", |
| 8 | "string": "code=invalid+code&grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%3A8080" |
| 9 | }, |
| 10 | "headers": { |
| 11 | "Accept": "*/*", |
| 12 | "Accept-Encoding": "gzip, deflate", |
| 13 | "Authorization": "Basic <BASIC_AUTH>", |
| 14 | "Connection": "keep-alive", |
| 15 | "Content-Length": "90", |
| 16 | "Content-Type": "application/x-www-form-urlencoded", |
| 17 | "User-Agent": "prawcore/0.0.1a1" |
| 18 | }, |
| 19 | "method": "POST", |
| 20 | "uri": "https://www.reddit.com/api/v1/access_token" |
| 21 | }, |
| 22 | "response": { |
| 23 | "body": { |
| 24 | "encoding": "UTF-8", |
| 25 | "string": "{\"error\": \"invalid_grant\"}" |
| 26 | }, |
| 27 | "headers": { |
| 28 | "CF-RAY": "274b89323c1039e2-PHX", |
| 29 | "Connection": "keep-alive", |
| 30 | "Content-Length": "26", |
| 31 | "Content-Type": "application/json; charset=UTF-8", |
| 32 | "Date": "Sun, 14 Feb 2016 20:31:19 GMT", |
| 33 | "Server": "cloudflare-nginx", |
| 34 | "Set-Cookie": "__cfduid=d85ee693995a0b47572b2d5fa2f438f191455481879; expires=Mon, 13-Feb-17 20:31:19 GMT; path=/; domain=.reddit.com; HttpOnly", |
| 35 | "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload", |
| 36 | "X-Moose": "majestic", |
| 37 | "cache-control": "max-age=0, must-revalidate", |
| 38 | "x-content-type-options": "nosniff", |
| 39 | "x-frame-options": "SAMEORIGIN", |
| 40 | "x-xss-protection": "1; mode=block" |
| 41 | }, |
| 42 | "status": { |
| 43 | "code": 200, |
| 44 | "message": "OK" |
| 45 | }, |
| 46 | "url": "https://www.reddit.com/api/v1/access_token" |
| 47 | } |
| 48 | } |
| 49 | ], |
| 50 | "recorded_with": "betamax/0.5.1" |
| 51 | } |