summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes/ssh-key-ok.yml
blob: b35d1ed94d2fbbd8af770d21369ba89dff7bbc54 (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: get
    uri: https://dev.gitlab.org/api/v4/internal/authorized_keys?key=AAAAB3NzaC1yc2EAAAADAQABAAACAQDPKPqqnqQ9PDFw65cO7iHXrKw6ucSZg8Bd2CZ150Yy1YRDPJOWeRNCnddS+M/Lk
    body:
      encoding: US-ASCII
      string: secret_token=a123
    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:
      Server:
      - nginx/1.1.19
      Date:
      - Wed, 03 Sep 2014 11:27:35 GMT
      Content-Type:
      - application/json
      Connection:
      - keep-alive
      Status:
      - 200 OK
      Cache-Control:
      - max-age=0, private, must-revalidate
    body:
      encoding: UTF-8
      string: '{"id":2, "title":"some key title", "key":"ssh-rsa a-made=up-rsa-key dummy@gitlab.com", "created_at":"2016-03-04T18:27:36.959Z"}'
    http_version: 
  recorded_at: Mon, 07 Mar 2016 12:10:00 GMT
recorded_with: VCR 2.4.0