| 1 | { |
| 2 | "http_interactions": [ |
| 3 | { |
| 4 | "recorded_at": "2016-02-16T01:44:30", |
| 5 | "request": { |
| 6 | "body": { |
| 7 | "encoding": "utf-8", |
| 8 | "string": "grant_type=refresh_token&refresh_token=<REFRESH_TOKEN>" |
| 9 | }, |
| 10 | "headers": { |
| 11 | "Accept": "*/*", |
| 12 | "Accept-Encoding": "gzip, deflate", |
| 13 | "Authorization": "Basic <BASIC_AUTH>", |
| 14 | "Connection": "keep-alive", |
| 15 | "Content-Length": "74", |
| 16 | "Content-Type": "application/x-www-form-urlencoded", |
| 17 | "Cookie": "__cfduid=dd555eb868b1bcfd517d08fcb174c3afc1454806972", |
| 18 | "User-Agent": "prawcore/0.0.1a1" |
| 19 | }, |
| 20 | "method": "POST", |
| 21 | "uri": "https://www.reddit.com/api/v1/access_token" |
| 22 | }, |
| 23 | "response": { |
| 24 | "body": { |
| 25 | "base64_string": "H4sIAAAAAAAAA6tWSkxOTi0uji/Jz07NU7JSUDIzMjWwMLbQdS9MLfN0Co3MDnYP946w1DUwyA3ILTa1CMuIVNJRUAKrjy+pLEgFaUpKTSxKLQKJp1YUZBalFsdnggwzNjMw0FFQKk7OhygrSk1MUaoFAOoj7j10AAAA", |
| 26 | "encoding": "UTF-8", |
| 27 | "string": "" |
| 28 | }, |
| 29 | "headers": { |
| 30 | "CF-RAY": "2755915526c33994-PHX", |
| 31 | "Connection": "keep-alive", |
| 32 | "Content-Encoding": "gzip", |
| 33 | "Content-Type": "application/json; charset=UTF-8", |
| 34 | "Date": "Tue, 16 Feb 2016 01:44:30 GMT", |
| 35 | "Server": "cloudflare-nginx", |
| 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-02-16T01:44:30", |
| 53 | "request": { |
| 54 | "body": { |
| 55 | "encoding": "utf-8", |
| 56 | "string": "" |
| 57 | }, |
| 58 | "headers": { |
| 59 | "Accept": "*/*", |
| 60 | "Accept-Encoding": "gzip, deflate", |
| 61 | "Authorization": "bearer 6250838-GqevIBUYkSGWKX9-00mPms58VhY", |
| 62 | "Connection": "keep-alive", |
| 63 | "Cookie": "__cfduid=dd555eb868b1bcfd517d08fcb174c3afc1454806972", |
| 64 | "User-Agent": "prawcore/0.0.1a1" |
| 65 | }, |
| 66 | "method": "GET", |
| 67 | "uri": "https://oauth.reddit.com/api/v1/me?raw_json=1" |
| 68 | }, |
| 69 | "response": { |
| 70 | "body": { |
| 71 | "encoding": "UTF-8", |
| 72 | "string": "{\"error\": 403}" |
| 73 | }, |
| 74 | "headers": { |
| 75 | "CF-RAY": "27559155e15139a0-PHX", |
| 76 | "Connection": "keep-alive", |
| 77 | "Content-Length": "14", |
| 78 | "Content-Type": "application/json; charset=UTF-8", |
| 79 | "Date": "Tue, 16 Feb 2016 01:44:30 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": "max-age=0, must-revalidate", |
| 86 | "www-authenticate": "Bearer realm=\"reddit\", error=\"insufficient_scope\"", |
| 87 | "x-content-type-options": "nosniff", |
| 88 | "x-frame-options": "SAMEORIGIN", |
| 89 | "x-reddit-tracking": "https://pixel.redditmedia.com/pixel/of_destiny.png?v=2m2gh5E260EbUJ8L8zNd5P6oBA8uEn%2FOFMSg0pcZ5WeqCc6wvNMRoteGl4W45LJuZ8h2CahhLnV2FWOBjXpBuRhfhvo6cDQk", |
| 90 | "x-ua-compatible": "IE=edge", |
| 91 | "x-xss-protection": "1; mode=block" |
| 92 | }, |
| 93 | "status": { |
| 94 | "code": 403, |
| 95 | "message": "Forbidden" |
| 96 | }, |
| 97 | "url": "https://oauth.reddit.com/api/v1/me?raw_json=1" |
| 98 | } |
| 99 | } |
| 100 | ], |
| 101 | "recorded_with": "betamax/0.5.1" |
| 102 | } |