summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes/post-receive.yml
blob: c29f865397ad91d9258bbcf35890ea288fb5a12b (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
41
42
43
44
45
46
---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/api/v4/internal/post_receive
    body:
      encoding: US-ASCII
      string: gl_repository=project-1&identifier=key-1&changes=123456+789012+refs%2Fheads%2Ftest%0A654321+210987+refs%2Ftags%2Ftag&secret_token=0a3938d9d95d807e94d937af3a4fbbea%0A
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '208'
      Content-Type:
      - application/json
      Date:
      - Wed, 30 Aug 2017 22:08:28 GMT
      Etag:
      - W/"1757d1411091b751684cde10119e0942"
      Vary:
      - Origin
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - f7d422a7-c1a3-49d1-9b81-7fc48c954767
      X-Runtime:
      - '0.687283'
    body:
      encoding: UTF-8
      string: '{"merge_request_urls":[{"branch_name":"test","url":"http://localhost:3000/gitlab-org/gitlab-test/merge_requests/7","new_merge_request":false}],"broadcast_message":"Message","reference_counter_decreased":true}'
    http_version:
  recorded_at: Wed, 30 Aug 2017 22:08:28 GMT
recorded_with: VCR 2.4.0