Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

customerlobby / lobbyist-ruby   ruby

Repository URL to install this package:

/ spec / cassettes / base_401_error.yml

---
http_interactions:
- request:
    method: get
    uri: http://localhost:3000/v1/companies/1.json?nonce=2015-11-01T18%3A37%3A27Z
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="35306b353a5ca153d3903662305c8131bfa76724aa286adab8f3934a98cf2bf2"
  response:
    status:
      code: 400
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      cache-control:
      - no-cache
      x-request-id:
      - 2b2698f64d106653e390f165a2c9e272
      x-runtime:
      - '0.013834'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"errors":["Bad request."]}'
    http_version: 
  recorded_at: Tue, 01 Dec 2015 18:42:39 GMT
recorded_with: VCR 3.0.0