summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes/custom-action-not-ok-json.yml
blob: e50719ddf18fed8fa3e10e547e470c2e54e1ae0b (plain)
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
32
33
34
35
36
37
38
39
40
---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/api/v4/fake/info_refs_bad
    body:
      encoding: UTF-8
      string: '{"data":{"gl_username":"user1","primary_repo":"http://localhost:3001/user1/repo1.git","gl_id":"key-11"},"output":"","secret_token":"0a3938d9d95d807e94d937af3a4fbbea\n"}'
    headers:
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - localhost
  response:
    status:
      code: 403
      message: Forbidden
    headers:
      Date:
      - Fri, 20 Jul 2018 06:54:21 GMT
      Connection:
      - close
      Content-Type:
      - application/json
      X-Request-Id:
      - ea0644ac-e1ad-45f6-aa72-cc7910274318
      X-Runtime:
      - '1.236672'
    body:
      encoding: UTF-8
      string: '{"message":"You cannot perform write operations on a read-only instance"}'
    http_version:
  recorded_at: Fri, 20 Jul 2018 06:54:21 GMT
recorded_with: VCR 2.4.0