Debian Codegraph @

tests/cassettes/Session_request__bad_request.json

raw symbols SCIP
1 {
2 "http_interactions": [
3 {
4 "recorded_at": "2016-07-09T23:09:27",
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 "Cookie": "loid=S1UX7gEWPLHZFXDMKZ; __cfduid=dd555eb868b1bcfd517d08fcb174c3afc1454806972",
18 "User-Agent": "prawcore:test (by /u/bboe) prawcore/0.0.9"
19 },
20 "method": "POST",
21 "uri": "https://www.reddit.com/api/v1/access_token"
22 },
23 "response": {
24 "body": {
25 "base64_string": "H4sIAAAAAAAAA6tWSkxOTi0uji/Jz07NU7JSUMqKTLKsTEoPC/Ay9S9ON3V0SUvPyDQIs0gsilTSUVACq4svqSxIBSlOSk0sSi0CiadWFGQWpRbHZ4IMMTYzMNBRUCpOzoco01KqBQCMctsQaQAAAA==",
26 "encoding": "UTF-8",
27 "string": ""
28 },
29 "headers": {
30 "CF-RAY": "2bff7190c8c9297b-DUB",
31 "Connection": "keep-alive",
32 "Content-Encoding": "gzip",
33 "Content-Type": "application/json; charset=UTF-8",
34 "Date": "Sat, 09 Jul 2016 23:09:27 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-07-09T23:09:27",
53 "request": {
54 "body": {
55 "encoding": "utf-8",
56 "string": "{\"note\": \"prawcore\"}"
57 },
58 "headers": {
59 "Accept": "*/*",
60 "Accept-Encoding": "gzip, deflate",
61 "Authorization": "bearer jYb9ybgVPJ5Osg5ADfghi0V8arY",
62 "Connection": "keep-alive",
63 "Content-Length": "20",
64 "Cookie": "loid=S1UX7gEWPLHZFXDMKZ; __cfduid=dd555eb868b1bcfd517d08fcb174c3afc1454806972",
65 "User-Agent": "prawcore:test (by /u/bboe) prawcore/0.0.9"
66 },
67 "method": "PUT",
68 "uri": "https://oauth.reddit.com/api/v1/me/friends/spez?raw_json=1"
69 },
70 "response": {
71 "body": {
72 "encoding": "UTF-8",
73 "string": "{\"fields\": [\"note\"], \"explanation\": \"you must have an active reddit gold subscription to do that\", \"message\": \"Bad Request\", \"reason\": \"GOLD_REQUIRED\"}"
74 },
75 "headers": {
76 "CF-RAY": "2bff719571a6299f-DUB",
77 "Connection": "keep-alive",
78 "Content-Length": "151",
79 "Content-Type": "application/json; charset=UTF-8",
80 "Date": "Sat, 09 Jul 2016 23:09:27 GMT",
81 "Server": "cloudflare-nginx",
82 "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
83 "X-Moose": "majestic",
84 "cache-control": "private, s-maxage=0, max-age=0, must-revalidate",
85 "expires": "-1",
86 "x-content-type-options": "nosniff",
87 "x-frame-options": "SAMEORIGIN",
88 "x-ratelimit-remaining": "597.0",
89 "x-ratelimit-reset": "33",
90 "x-ratelimit-used": "3",
91 "x-ua-compatible": "IE=edge",
92 "x-xss-protection": "1; mode=block"
93 },
94 "status": {
95 "code": 400,
96 "message": "Bad Request"
97 },
98 "url": "https://oauth.reddit.com/api/v1/me/friends/spez?raw_json=1"
99 }
100 }
101 ],
102 "recorded_with": "betamax/0.7.1"
103 }