aboutsummaryrefslogtreecommitdiff
blob: 4c66e9be87b1f126466fd6f1c17419f0591977af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
interactions:
- request:
    body: status=
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['7']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/statuses
  response:
    body: {string: '{"error":"Validation failed: Text can''t be blank"}'}
    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: [1c82a1c4-f0fd-4d0d-90cb-b388f944f089]
      X-Runtime: ['0.046340']
      X-XSS-Protection: [1; mode=block]
      content-length: ['50']
    status: {code: 422, message: Unprocessable Entity}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)