aboutsummaryrefslogblamecommitdiff
blob: d220e320fa2c5bf9278d2c73b9e2ebe27b402310 (plain) (tree)
1
2
3
4
5
6
7
8

             
                                                                                                                                                                                                                                                                      



                                        
                             




                                                       

                                                                                                                            
            








                                                          

                                    
interactions:
- request:
    body: !!python/unicode username=admin%40localhost%3A3000&password=mastodonadmin&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&client_id=__MASTODON_PY_TEST_CLIENT_ID&scope=read+write+follow&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['235']
      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: !!python/unicode '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read
        write follow","created_at":1511992220}'}
    headers:
      cache-control: [no-store]
      content-length: ['126']
      content-type: [application/json; charset=utf-8]
      etag: [W/"7f19440d01a73bd9685be7280866fa5b"]
      pragma: [no-cache]
      transfer-encoding: [chunked]
      vary: ['Accept-Encoding, Origin']
      x-request-id: [d33af1b6-ae04-495f-9a8c-720b570e98a9]
      x-runtime: ['0.244819']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)