interactions: - request: body: client_name=mastodon.py+generated+test+app&scopes=read+write+follow+push&redirect_uris=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['122'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/apps response: body: {string: '{"id":"13","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"zij9qxCIpk2CJFPnMxTJ7EOtGmd_3XC40tihH0aps1I","client_secret":"nVOU8GoOoiy6NDIpNt55VKxCh27CGo8B7lXZmMJqClE","vapid_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [6912b933-aab1-4fa6-8c7b-67f799f80a19] X-Runtime: ['0.035308'] X-XSS-Protection: [1; mode=block] content-length: ['332'] status: {code: 200, message: OK} - request: body: null headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET uri: http://localhost:3000/api/v1/instance/ response: body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.0.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":28,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} headers: Cache-Control: ['max-age=180, public'] Content-Type: [application/json; charset=utf-8] Date: ['Fri, 11 Oct 2019 21:48:27 GMT'] ETag: [W/"72d07fe84adca128358e4f3ab1413be7"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [60a0da88-4a68-4bab-a77c-a9ebac2d60d0] X-Runtime: ['0.067614'] X-XSS-Protection: [1; mode=block] content-length: ['398'] status: {code: 200, message: OK} - request: body: scope=read+write+follow+push&client_id=zij9qxCIpk2CJFPnMxTJ7EOtGmd_3XC40tihH0aps1I&client_secret=nVOU8GoOoiy6NDIpNt55VKxCh27CGo8B7lXZmMJqClE&grant_type=client_credentials headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['170'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/oauth/token response: body: {string: '{"access_token":"l-VzLtX_yYORmn7BwbP8TL80QrRBUSiegF9DQ1XcL-Y","token_type":"Bearer","scope":"read write follow push","created_at":1570830507}'} headers: Cache-Control: ['private, no-store'] Content-Type: [application/json; charset=utf-8] ETag: [W/"9ca50ccf8801218f33065349ca847f8c"] Pragma: [no-cache] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Request-Id: [9d2c3585-7282-407b-b26d-781bed2fe985] X-Runtime: ['0.033991'] content-length: ['141'] status: {code: 200, message: OK} - request: body: locale=en&agreement=1&email=email%40localhost55896&password=swordfish&username=coolguy55896&client_id=zij9qxCIpk2CJFPnMxTJ7EOtGmd_3XC40tihH0aps1I&client_secret=nVOU8GoOoiy6NDIpNt55VKxCh27CGo8B7lXZmMJqClE headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer l-VzLtX_yYORmn7BwbP8TL80QrRBUSiegF9DQ1XcL-Y] Connection: [keep-alive] Content-Length: ['203'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts response: body: {string: '{"access_token":"Y7B52Qx_Ny5AKTW7_9scfVb475UUWdaO-Eb3S7a2ny8","token_type":"Bearer","scope":"read write follow push","created_at":1570830507}'} headers: Cache-Control: ['private, no-store'] Content-Type: [application/json; charset=utf-8] ETag: [W/"3c6880bd24f62d977acabfecb715fa4e"] Pragma: [no-cache] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [bb1c82a2-2d0f-432d-999e-8c4a626ab698] X-Runtime: ['0.248933'] X-XSS-Protection: [1; mode=block] content-length: ['141'] status: {code: 200, message: OK} version: 1