| 1 | { |
| 2 | "http_interactions": [ |
| 3 | { |
| 4 | "recorded_at": "2021-02-22T05:34:53", |
| 5 | "request": { |
| 6 | "body": { |
| 7 | "encoding": "utf-8", |
| 8 | "string": "grant_type=refresh_token&refresh_token=<REFRESH_TOKEN>" |
| 9 | }, |
| 10 | "headers": { |
| 11 | "Accept": [ |
| 12 | "*/*" |
| 13 | ], |
| 14 | "Accept-Encoding": [ |
| 15 | "gzip, deflate" |
| 16 | ], |
| 17 | "Authorization": [ |
| 18 | "Basic <BASIC_AUTH>" |
| 19 | ], |
| 20 | "Connection": [ |
| 21 | "close" |
| 22 | ], |
| 23 | "Content-Length": [ |
| 24 | "77" |
| 25 | ], |
| 26 | "Content-Type": [ |
| 27 | "application/x-www-form-urlencoded" |
| 28 | ], |
| 29 | "User-Agent": [ |
| 30 | "prawcore:test (by /u/bboe) prawcore/1.5.0" |
| 31 | ] |
| 32 | }, |
| 33 | "method": "POST", |
| 34 | "uri": "https://www.reddit.com/api/v1/access_token" |
| 35 | }, |
| 36 | "response": { |
| 37 | "body": { |
| 38 | "encoding": "UTF-8", |
| 39 | "string": "{\"access_token\": \"0000000-aaaaaaaaaaaaaaaaaaaaaa-0000000\", \"token_type\": \"bearer\", \"expires_in\": 3600, \"refresh_token\": \"aaaaaaa-0000000000000000000000-aaaaaaa\", \"scope\": \"modmail\"}" |
| 40 | }, |
| 41 | "headers": { |
| 42 | "Accept-Ranges": [ |
| 43 | "bytes" |
| 44 | ], |
| 45 | "Connection": [ |
| 46 | "close" |
| 47 | ], |
| 48 | "Content-Length": [ |
| 49 | "181" |
| 50 | ], |
| 51 | "Content-Type": [ |
| 52 | "application/json; charset=UTF-8" |
| 53 | ], |
| 54 | "Date": [ |
| 55 | "Mon, 22 Feb 2021 05:34:53 GMT" |
| 56 | ], |
| 57 | "Server": [ |
| 58 | "snooserv" |
| 59 | ], |
| 60 | "Set-Cookie": [ |
| 61 | "edgebucket=f5KZ6I9GmO6zC9InB3; Domain=reddit.com; Max-Age=63071999; Path=/; secure" |
| 62 | ], |
| 63 | "Strict-Transport-Security": [ |
| 64 | "max-age=15552000; includeSubDomains; preload" |
| 65 | ], |
| 66 | "Via": [ |
| 67 | "1.1 varnish" |
| 68 | ], |
| 69 | "X-Moose": [ |
| 70 | "majestic" |
| 71 | ], |
| 72 | "cache-control": [ |
| 73 | "max-age=0, must-revalidate" |
| 74 | ], |
| 75 | "x-content-type-options": [ |
| 76 | "nosniff" |
| 77 | ], |
| 78 | "x-frame-options": [ |
| 79 | "SAMEORIGIN" |
| 80 | ], |
| 81 | "x-xss-protection": [ |
| 82 | "1; mode=block" |
| 83 | ] |
| 84 | }, |
| 85 | "status": { |
| 86 | "code": 200, |
| 87 | "message": "OK" |
| 88 | }, |
| 89 | "url": "https://www.reddit.com/api/v1/access_token" |
| 90 | } |
| 91 | } |
| 92 | ], |
| 93 | "recorded_with": "betamax/0.8.1" |
| 94 | } |