Sha256: 14d87008d24880420fba1ad2803a704bab241dbcaace079e96137e323c842ea2

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/locomotive/api/v3/tokens.json
    body:
      encoding: UTF-8
      string: api_key=d49cd50f6f0d2b163f48fc73cb249f0244c37074&email=admin%40locomotivecms.com
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      User-Agent:
      - Ruby
  response:
    status:
      code: 201
      message: Created
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '32'
      Etag:
      - W/"6ba0e226b40adfde2d656d9027a1335f"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 8820e872-e6d5-4a29-a182-60b176f4d0e8
      X-Runtime:
      - '0.015979'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: UTF-8
      string: '{"token":"Z9s7W_-BXyGQsDPFsorr"}'
    http_version: 
  recorded_at: Mon, 04 May 2015 13:51:30 GMT
- request:
    method: post
    uri: http://acme.example.com:3000/tokens.json
    body:
      encoding: UTF-8
      string: email=admin%40locomotivecms.com&password=locomotive
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Content-Type:
      - text/html
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 4df79c9f-6d22-493d-8373-11fabc659d04
      X-Runtime:
      - '0.019628'
      Connection:
      - close
      Server:
      - thin
    body:
      encoding: UTF-8
      string: Hi, we are sorry but no site was found.
    http_version: 
  recorded_at: Mon, 04 May 2015 13:51:30 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotivecms_coal-1.0.0.pre.alpha.3 spec/fixtures/coal_cassettes/token.yml
locomotivecms_coal-1.0.0.pre.alpha.2 spec/fixtures/coal_cassettes/token.yml