{
  "http_interactions": [
    {
      "recorded_at": "2019-01-04T02:21:23",
      "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": [
            "53"
          ],
          "Content-Type": [
            "application/x-www-form-urlencoded"
          ],
          "User-Agent": [
            "<USER_AGENT> PRAW/6.0.0 prawcore/1.0.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": [
            "116"
          ],
          "Content-Type": [
            "application/json; charset=UTF-8"
          ],
          "Date": [
            "Fri, 04 Jan 2019 02:21:22 GMT"
          ],
          "Server": [
            "snooserv"
          ],
          "Set-Cookie": [
            "edgebucket=lqM9TWwfVu6DVyyoO2; 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-pao17422-PAO"
          ],
          "X-Timer": [
            "S1546568483.549433,VS0,VE419"
          ],
          "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-01-04T02:21:23",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "api_type=json&json=%7B%22shortName%22%3A+%22My+new+widget%21%22%2C+%22text%22%3A+%22Hello+world%21%22%2C+%22styles%22%3A+%7B%22headerColor%22%3A+%22%23123456%22%2C+%22backgroundColor%22%3A+%22%23bb0e00%22%7D%2C+%22kind%22%3A+%22textarea%22%7D"
        },
        "headers": {
          "Accept": [
            "*/*"
          ],
          "Accept-Encoding": [
            "identity"
          ],
          "Authorization": [
            "bearer <ACCESS_TOKEN>"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "242"
          ],
          "Content-Type": [
            "application/x-www-form-urlencoded"
          ],
          "Cookie": [
            "edgebucket=lqM9TWwfVu6DVyyoO2"
          ],
          "User-Agent": [
            "<USER_AGENT> PRAW/6.0.0 prawcore/1.0.0"
          ]
        },
        "method": "POST",
        "uri": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/widget?raw_json=1"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"styles\": {\"headerColor\": \"#123456\", \"backgroundColor\": \"#bb0e00\"}, \"kind\": \"textarea\", \"textHtml\": \"\\u003C!-- SC_OFF --\\u003E\\u003Cdiv class=\\\"md\\\"\\u003E\\u003Cp\\u003EHello world!\\u003C/p\\u003E\\n\\u003C/div\\u003E\\u003C!-- SC_ON --\\u003E\", \"text\": \"Hello world!\", \"shortName\": \"My new widget!\", \"id\": \"widget_128bgmfs9jr74\"}"
        },
        "headers": {
          "Accept-Ranges": [
            "bytes"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "323"
          ],
          "Content-Type": [
            "application/json; charset=UTF-8"
          ],
          "Date": [
            "Fri, 04 Jan 2019 02:21:23 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-pao17435-PAO"
          ],
          "X-Timer": [
            "S1546568483.152839,VS0,VE215"
          ],
          "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": [
            "599.0"
          ],
          "x-ratelimit-reset": [
            "517"
          ],
          "x-ratelimit-used": [
            "1"
          ],
          "x-xss-protection": [
            "1; mode=block"
          ]
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/widget?raw_json=1"
      }
    },
    {
      "recorded_at": "2019-01-04T02:21:23",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "api_type=json&json=%7B%22id%22%3A+%22widget_128bgmfs9jr74%22%2C+%22styles%22%3A+%7B%22headerColor%22%3A+%22%23123456%22%2C+%22backgroundColor%22%3A+%22%23bb0e00%22%7D%2C+%22kind%22%3A+%22textarea%22%2C+%22textHtml%22%3A+%22%3C%21--+SC_OFF+--%3E%3Cdiv+class%3D%5C%22md%5C%22%3E%3Cp%3EHello+world%21%3C%2Fp%3E%5Cn%3C%2Fdiv%3E%3C%21--+SC_ON+--%3E%22%2C+%22text%22%3A+%22Feed+me%22%2C+%22shortName%22%3A+%22My+old+widget+%3A%28%22%7D"
        },
        "headers": {
          "Accept": [
            "*/*"
          ],
          "Accept-Encoding": [
            "identity"
          ],
          "Authorization": [
            "bearer <ACCESS_TOKEN>"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "429"
          ],
          "Content-Type": [
            "application/x-www-form-urlencoded"
          ],
          "Cookie": [
            "edgebucket=lqM9TWwfVu6DVyyoO2"
          ],
          "User-Agent": [
            "<USER_AGENT> PRAW/6.0.0 prawcore/1.0.0"
          ]
        },
        "method": "PUT",
        "uri": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/widget/widget_128bgmfs9jr74?raw_json=1"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"styles\": {\"headerColor\": \"#123456\", \"backgroundColor\": \"#bb0e00\"}, \"kind\": \"textarea\", \"textHtml\": \"\\u003C!-- SC_OFF --\\u003E\\u003Cdiv class=\\\"md\\\"\\u003E\\u003Cp\\u003EFeed me\\u003C/p\\u003E\\n\\u003C/div\\u003E\\u003C!-- SC_ON --\\u003E\", \"text\": \"Feed me\", \"shortName\": \"My old widget :(\", \"id\": \"widget_128bgmfs9jr74\"}"
        },
        "headers": {
          "Accept-Ranges": [
            "bytes"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "315"
          ],
          "Content-Type": [
            "application/json; charset=UTF-8"
          ],
          "Date": [
            "Fri, 04 Jan 2019 02:21:23 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-pao17435-PAO"
          ],
          "X-Timer": [
            "S1546568483.386161,VS0,VE284"
          ],
          "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": [
            "517"
          ],
          "x-ratelimit-used": [
            "2"
          ],
          "x-xss-protection": [
            "1; mode=block"
          ]
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/widget/widget_128bgmfs9jr74?raw_json=1"
      }
    },
    {
      "recorded_at": "2019-01-04T02:21:24",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": ""
        },
        "headers": {
          "Accept": [
            "*/*"
          ],
          "Accept-Encoding": [
            "identity"
          ],
          "Authorization": [
            "bearer <ACCESS_TOKEN>"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "0"
          ],
          "Cookie": [
            "edgebucket=lqM9TWwfVu6DVyyoO2"
          ],
          "User-Agent": [
            "<USER_AGENT> PRAW/6.0.0 prawcore/1.0.0"
          ]
        },
        "method": "DELETE",
        "uri": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/widget/widget_128bgmfs9jr74?raw_json=1"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": ""
        },
        "headers": {
          "Accept-Ranges": [
            "bytes"
          ],
          "Connection": [
            "keep-alive"
          ],
          "Content-Length": [
            "0"
          ],
          "Content-Type": [
            "application/json; charset=UTF-8"
          ],
          "Date": [
            "Fri, 04 Jan 2019 02:21:24 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-pao17435-PAO"
          ],
          "X-Timer": [
            "S1546568484.705440,VS0,VE332"
          ],
          "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": [
            "597.0"
          ],
          "x-ratelimit-reset": [
            "517"
          ],
          "x-ratelimit-used": [
            "3"
          ],
          "x-xss-protection": [
            "1; mode=block"
          ]
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/widget/widget_128bgmfs9jr74?raw_json=1"
      }
    }
  ],
  "recorded_with": "betamax/0.8.1"
}
