Sha256: 3546dfb1cb194e934b13283653fd15b09e35a437e2f23f3a0e302ff15586cc9b

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://test.qt.sealink.com.au:8080/api/reservations.json
    body:
      encoding: UTF-8
      string: resource_id=4&first_travel_date=2099-09-10&access_key=<QT_KEY>
    headers:
      Content-Length:
      - '0'
  response:
    status:
      code: 404
      message: 'Not Found '
    headers:
      P3p:
      - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
      Content-Type:
      - application/json; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 0287306d-f330-4d48-91ea-3da53858956b
      X-Runtime:
      - '0.519951'
      Date:
      - Fri, 01 Jan 2016 02:32:34 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Download-Options:
      - noopen
      X-Frame-Options:
      - sameorigin
      X-Permitted-Cross-Domain-Policies:
      - none
      X-Xss-Protection:
      - 1; mode=block
      Server:
      - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
      Content-Length:
      - '98'
      Connection:
      - Keep-Alive
      Set-Cookie:
      - _session_id=UHdDcjJYS2NmSVVwY3VVMFQvYUdYQ2g2SGR3YnV5L0JtWHRCd3VXRUhPaFBhbnQwc0JDTzBCOTBtbzR4TDNRMVRWc2VXL21acXpCSGQ1SjR4c0gxN1RQaHFKcVJ2eUl6MnpHNVhGcnJOM0k9LS02aWliZnI5Y1ZKaTNvN1VPbnl1UW1BPT0%3D--8cc41d08686d34f60ae3f015a71c28e58cc31f3d;
        path=/; HttpOnly
    body:
      encoding: UTF-8
      string: '{"error":"No services selected for [10-09-2099 -- Travel Insurance
        - Declined -- 0 pax assigned]"}'
    http_version: 
  recorded_at: Wed, 21 Mar 2018 04:40:41 GMT
recorded_with: VCR 4.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quicktravel_client-3.7.0 spec/support/cassettes/create_reservation_fail.yml