{
  "http_interactions": [
    {
      "recorded_at": "2017-01-13T05:25:54",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "grant_type=password&password=<PASSWORD>&username=<USERNAME>"
        },
        "headers": {
          "Accept": "*/*",
          "Accept-Encoding": "identity",
          "Authorization": "Basic <BASIC_AUTH>",
          "Connection": "keep-alive",
          "Content-Length": "57",
          "Content-Type": "application/x-www-form-urlencoded",
          "User-Agent": "<USER_AGENT> PRAW/4.2.1dev0 prawcore/0.6.0"
        },
        "method": "POST",
        "uri": "https://www.reddit.com/api/v1/access_token"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"access_token\": \"<ACCESS_TOKEN>\", \"token_type\": \"bearer\", \"expires_in\": 3600, \"scope\": \"*\"}"
        },
        "headers": {
          "Accept-Ranges": "bytes",
          "Connection": "keep-alive",
          "Content-Length": "105",
          "Content-Type": "application/json; charset=UTF-8",
          "Date": "Fri, 13 Jan 2017 05:25:54 GMT",
          "Server": "snooserv",
          "Set-Cookie": "loid=r3NgKhfK9PW2JGTx6T; Domain=reddit.com; Max-Age=63071999; Path=/;  secure",
          "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
          "Via": "1.1 varnish",
          "X-Cache": "MISS",
          "X-Cache-Hits": "0",
          "X-Moose": "majestic",
          "X-Served-By": "cache-lax8624-LAX",
          "X-Timer": "S1484285154.203491,VS0,VE402",
          "cache-control": "max-age=0, must-revalidate",
          "x-content-type-options": "nosniff",
          "x-frame-options": "SAMEORIGIN",
          "x-xss-protection": "1; mode=block"
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://www.reddit.com/api/v1/access_token"
      }
    },
    {
      "recorded_at": "2017-01-13T05:25:54",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "api_type=json&name=pyapitestuser3&permissions=-all%2C-mail%2C-access%2C-posts%2C-wiki%2C-config%2C-flair%2C%2Ba&type=moderator_invite"
        },
        "headers": {
          "Accept": "*/*",
          "Accept-Encoding": "identity",
          "Authorization": "bearer <ACCESS_TOKEN>",
          "Connection": "keep-alive",
          "Content-Length": "133",
          "Content-Type": "application/x-www-form-urlencoded",
          "Cookie": "loidcreated=1484285154000; loid=r3NgKhfK9PW2JGTx6T",
          "User-Agent": "<USER_AGENT> PRAW/4.2.1dev0 prawcore/0.6.0"
        },
        "method": "POST",
        "uri": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/friend/?raw_json=1"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"json\": {\"errors\": [[\"INVALID_PERMISSIONS\", \"invalid permissions string\", \"permissions\"]]}}"
        },
        "headers": {
          "Accept-Ranges": "bytes",
          "Connection": "keep-alive",
          "Content-Length": "92",
          "Content-Type": "application/json; charset=UTF-8",
          "Date": "Fri, 13 Jan 2017 05:25:54 GMT",
          "Server": "snooserv",
          "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
          "Via": "1.1 varnish",
          "X-Cache": "MISS",
          "X-Cache-Hits": "0",
          "X-Moose": "majestic",
          "X-Served-By": "cache-lax8648-LAX",
          "X-Timer": "S1484285154.701512,VS0,VE106",
          "cache-control": "private, s-maxage=0, max-age=0, must-revalidate, max-age=0, must-revalidate",
          "expires": "-1",
          "x-content-type-options": "nosniff",
          "x-frame-options": "SAMEORIGIN",
          "x-ratelimit-remaining": "598.0",
          "x-ratelimit-reset": "246",
          "x-ratelimit-used": "2",
          "x-ua-compatible": "IE=edge",
          "x-xss-protection": "1; mode=block"
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/friend/?raw_json=1"
      }
    }
  ],
  "recorded_with": "betamax/0.8.0"
}
