Sha256: 47ea0d5ec229c763fdc786eaec7808137fdd1a0dae7e4da4edf3b49fa6821f24

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://<TEST_SUBDOMAIN>.namely.com/api/v1/profiles
    body:
      encoding: UTF-8
      string: '{"profiles":[{}],"access_token":"<TEST_ACCESS_TOKEN>"}'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - application/json
      Content-Length:
      - '67'
      User-Agent:
      - Ruby
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Cache-Control:
      - no-cache
      Content-Type:
      - application/json; charset=utf-8
      Date:
      - Tue, 04 Nov 2014 16:34:48 GMT
      Server:
      - nginx
      Status:
      - 422 Unprocessable Entity
      Strict-Transport-Security:
      - max-age=31536000
      X-Rack-Cache:
      - invalidate, pass
      X-Request-Id:
      - f3e2349d-23fa-49e6-aefe-5c40c3d0e989
      X-Runtime:
      - '0.089512'
      Content-Length:
      - '172'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"message":"error creating profile","errors":["first_name is a required
        field","last_name is a required field","email is a required field",["format
        of email  is invalid"]]}'
    http_version: 
  recorded_at: Tue, 04 Nov 2014 16:34:48 GMT
recorded_with: VCR 2.9.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
namely-0.0.1 spec/fixtures/vcr_cassettes/profile_create_failed.yml