Sha256: 7fa7f725bea85638d1ed9dd6b3a8fa35cbdee8a5bebec06c5615c545ebcb0cb2

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains
    body:
      encoding: UTF-8
      string: domain[name]=example.com
    headers:
      Accept:
      - application/json
      Authorization:
      - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
  response:
    status:
      code: 201
      message: Created
    headers:
      X-Ua-Compatible:
      - IE=Edge
      Access-Control-Allow-Headers:
      - Authorization,Accepts,Content-Type
      X-Dnsimple-Api-Version:
      - 1.0.0
      Location:
      - https://test.dnsimple.com/domains/example.com
      Access-Control-Allow-Methods:
      - OPTIONS
      Content-Type:
      - application/json; charset=utf-8
      Access-Control-Allow-Origin:
      - ! '*'
      Date:
      - Fri, 11 Nov 2011 20:05:13 GMT
      Server:
      - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
      X-Runtime:
      - '6.596858'
      Content-Length:
      - '412'
      Set-Cookie:
      - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODY3M2E1Yzc3ODk2MmVkNjIwZDZhMjkzYjM4OWNhMmZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--e7964c7a1589861bc35bdf8ebd826172d98be6d9;
        path=/; HttpOnly
      Cache-Control:
      - no-cache
    body:
      encoding: UTF-8
      string: ! '{"domain":{"auto_renew":null,"created_at":"2011-11-11T20:05:07Z","expires_at":null,"id":39,"last_name_server_status_check":null,"lockable":true,"name":"example.com","name_server_status":"unknown","parsed_expiration_date":null,"real_time":true,"registrant_id":null,"registration_status":"hosted","state":"hosted","updated_at":"2011-11-11T20:05:07Z","user_id":1,"uses_external_name_servers":null,"record_count":0}}'
    http_version: '1.1'
  recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
recorded_with: VCR 2.2.5

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dnsimple-ruby-1.4.1 fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml
dnsimple-ruby-1.4.0 fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml