aboutsummaryrefslogblamecommitdiff
blob: 4f29db4fe8d493778c1872498ee505a4017f1652 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                             
                                          


                                           
                                                       
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                            







                                                             
                                          


                                           
                                                         
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                            








                                                             
                                          
                  
                                             


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          



                                       
interactions:
- request:
    body: title=ham+burglars
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['18']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/lists
  response:
    body: {string: '{"id":"1","title":"ham burglars"}'}
    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: [99edb982-92b9-4746-bcb5-c9ef77f39572]
      X-Runtime: ['0.052286']
      X-XSS-Protection: [1; mode=block]
      content-length: ['33']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/lists
  response:
    body: {string: '[{"id":"1","title":"ham burglars"}]'}
    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: [df208a34-9ab7-4d18-ad6c-e969c61b747f]
      X-Runtime: ['0.017683']
      X-XSS-Protection: [1; mode=block]
      content-length: ['35']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python-requests/2.18.4]
    method: DELETE
    uri: http://localhost:3000/api/v1/lists/1
  response:
    body: {string: '{}'}
    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: [9323d374-a2f0-4b2e-adf9-a8cef39a1937]
      X-Runtime: ['0.027703']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)