{
  "http_interactions": [
    {
      "recorded_at": "2019-07-22T16:11:27",
      "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": [
            "56"
          ],
          "Content-Type": [
            "application/x-www-form-urlencoded"
          ],
          "User-Agent": [
            "<USER_AGENT> PRAW/6.3.2.dev0 prawcore/1.0.1"
          ]
        },
        "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": [
            "117"
          ],
          "Content-Type": [
            "application/json; charset=UTF-8"
          ],
          "Date": [
            "Mon, 22 Jul 2019 16:11:27 GMT"
          ],
          "Server": [
            "snooserv"
          ],
          "Set-Cookie": [
            "edgebucket=nCy0E5ttkyshpJiz95; 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-mel19032-MEL"
          ],
          "X-Timer": [
            "S1563811887.656164,VS0,VE600"
          ],
          "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": "2019-07-22T16:11:27",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "api_type=json&background_color=%23ABCDEF&css_class=myCSS&flair_type=USER_FLAIR&mod_only=False&text=PRAW&text_editable=False"
        },
        "headers": {
          "Accept": [
            "*/*"
          ],
          "Accept-Encoding": [
            "identity"
          ],
          "Authorization": [
            "bearer <ACCESS_TOKEN>"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "123"
          ],
          "Content-Type": [
            "application/x-www-form-urlencoded"
          ],
          "Cookie": [
            "edgebucket=nCy0E5ttkyshpJiz95"
          ],
          "User-Agent": [
            "<USER_AGENT> PRAW/6.3.2.dev0 prawcore/1.0.1"
          ]
        },
        "method": "POST",
        "uri": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/flairtemplate_v2?raw_json=1"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"text\": \"PRAW\", \"allowableContent\": \"all\", \"modOnly\": false, \"cssClass\": \"myCSS\", \"id\": \"5c16e768-ac9b-11e9-a601-0e236d92f5c8\", \"textEditable\": false, \"overrideCss\": false, \"richtext\": [], \"maxEmojis\": 10, \"flairType\": \"USER_FLAIR\", \"backgroundColor\": \"#abcdef\", \"textColor\": \"dark\", \"type\": \"text\"}"
        },
        "headers": {
          "Accept-Ranges": [
            "bytes"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "300"
          ],
          "Content-Type": [
            "application/json; charset=UTF-8"
          ],
          "Date": [
            "Mon, 22 Jul 2019 16:11:27 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-mel19031-MEL"
          ],
          "X-Timer": [
            "S1563811887.450681,VS0,VE355"
          ],
          "cache-control": [
            "private, s-maxage=0, max-age=0, must-revalidate, max-age=0, must-revalidate"
          ],
          "expires": [
            "-1"
          ],
          "set-cookie": [
            "loid=000000000004x25quk.2.1498230528268.Z0FBQUFBQmROZUF2Zy1ycmdmbjdYYjM3bkt4STVQMXR2aVBLcWFSTk1zaV93QUhOX1NtOTFuWkJRYTFVTmRvZzVoWXBYeDVvS3d6V2NjTV9uNF9aYUVlRmt0X0x4M3ZZUi03aXFjUUJCak1sYmdoZlVfamtkWEtuaXlLOGdYT3NmZWgtNUYyYk9zOEQ; Domain=reddit.com; Max-Age=63071999; Path=/; expires=Wed, 21-Jul-2021 16:11:27 GMT; secure",
            "redesign_optout=true; Domain=reddit.com; Max-Age=94607999; Path=/; expires=Thu, 21-Jul-2022 16:11:27 GMT; secure",
            "session_tracker=gvxggQWQuNUUrRMC16.0.1563811887610.Z0FBQUFBQmROZUF2YWJpSWpPTVpSejNXeFd3QmRZY3FzV0VOeGFfX3ZnTXNjWkRWd0ZZeVVVVFpCVTNMUHFpdEF3bzRSRURqNTNTMU5Qdy13VzZtSGkzNlBtVnFaRFpRS3FQcmx0VWt1cVZNdlVyV0lpRzg0STM4T01ubU5CQ2NZY3RnbmoyMmpqOG8; Domain=reddit.com; Max-Age=7199; Path=/; expires=Mon, 22-Jul-2019 18:11:27 GMT; secure"
          ],
          "x-content-type-options": [
            "nosniff"
          ],
          "x-frame-options": [
            "SAMEORIGIN"
          ],
          "x-ratelimit-remaining": [
            "599.0"
          ],
          "x-ratelimit-reset": [
            "513"
          ],
          "x-ratelimit-used": [
            "1"
          ],
          "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/flairtemplate_v2?raw_json=1"
      }
    }
  ],
  "recorded_with": "betamax/0.8.1"
}
