| 1 | { |
| 2 | "http_interactions": [ |
| 3 | { |
| 4 | "recorded_at": "2021-05-21T00:43:11", |
| 5 | "request": { |
| 6 | "body": { |
| 7 | "encoding": "utf-8", |
| 8 | "string": "grant_type=password&otp=000000&password=<PASSWORD>&username=<USERNAME>" |
| 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 | "152" |
| 25 | ], |
| 26 | "Content-Type": [ |
| 27 | "application/x-www-form-urlencoded" |
| 28 | ], |
| 29 | "Cookie": [ |
| 30 | "edgebucket=W5X0f17fr5uGzS0Jxd; loid=yU0JIU6fMP2ZtL3FsU" |
| 31 | ], |
| 32 | "User-Agent": [ |
| 33 | "prawcore:test (by /u/bboe) prawcore/2.0.0" |
| 34 | ] |
| 35 | }, |
| 36 | "method": "POST", |
| 37 | "uri": "https://www.reddit.com/api/v1/access_token" |
| 38 | }, |
| 39 | "response": { |
| 40 | "body": { |
| 41 | "encoding": "UTF-8", |
| 42 | "string": "{\"access_token\": \"00000000-000000000000000000000000000000\", \"token_type\": \"bearer\", \"expires_in\": 3600, \"scope\": \"*\"}" |
| 43 | }, |
| 44 | "headers": { |
| 45 | "Accept-Ranges": [ |
| 46 | "bytes" |
| 47 | ], |
| 48 | "Connection": [ |
| 49 | "close" |
| 50 | ], |
| 51 | "Content-Length": [ |
| 52 | "117" |
| 53 | ], |
| 54 | "Content-Type": [ |
| 55 | "application/json; charset=UTF-8" |
| 56 | ], |
| 57 | "Date": [ |
| 58 | "Fri, 21 May 2021 00:43:14 GMT" |
| 59 | ], |
| 60 | "Server": [ |
| 61 | "snooserv" |
| 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-ratelimit-remaining": [ |
| 82 | "299" |
| 83 | ], |
| 84 | "x-ratelimit-reset": [ |
| 85 | "406" |
| 86 | ], |
| 87 | "x-ratelimit-used": [ |
| 88 | "1" |
| 89 | ], |
| 90 | "x-xss-protection": [ |
| 91 | "1; mode=block" |
| 92 | ] |
| 93 | }, |
| 94 | "status": { |
| 95 | "code": 200, |
| 96 | "message": "OK" |
| 97 | }, |
| 98 | "url": "https://www.reddit.com/api/v1/access_token" |
| 99 | } |
| 100 | } |
| 101 | ], |
| 102 | "recorded_with": "betamax/0.8.1" |
| 103 | } |