---
http_interactions:
- request:
method: post
uri: http://localhost:3000/v1/contacts.json
body:
encoding: UTF-8
string: '{"company_id":127,"contact":{"first_name":"John","last_name":"Doe","email":"jdoe@gmail.com","wants_emails":"1"},"nonce":"2015-11-30
22:39:53 UTC"}'
headers:
User-Agent:
- Faraday v0.9.2
Accept:
- application/json
Content-Type:
- application/json
Authorization:
- Token token="Jz43pwlU1rb4ewhgltWO", signature="438530aec23e51bbcacae296e3cbb03adb373604d50889da3ef40972f2d3be26"
response:
status:
code: 200
message:
headers:
content-type:
- application/json; charset=utf-8
vary:
- Origin
x-ua-compatible:
- IE=Edge
etag:
- '"aa320d4f44fd3c018ad39e1704e74efc"'
cache-control:
- max-age=0, private, must-revalidate
set-cookie:
- _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTRiYjhmMzQ4ZmUzZjU3NmMyMjU0NGVhODYxYWRjOGIxBjsAVA%3D%3D--960df795cbc244971755f1b8944e3ff653223df3;
path=/; HttpOnly
x-request-id:
- bb4908cb8940b52e03ca2a199be27bcc
x-runtime:
- '0.762930'
connection:
- close
server:
- thin 1.5.1 codename Straight Razor
body:
encoding: UTF-8
string: '{"contact_id":7207156,"company_id":127,"first_name":"John","last_name":"Doe","phone_daytime":null,"phone_daytime_ext":null,"phone_alt":null,"phone_alt_ext":null,"phone_mobile":null,"email":"jdoe@gmail.com","address1":null,"address2":null,"city":null,"state":null,"zip":null,"country":null,"last_service_date":null,"notes":null,"wants_emails":true,"wants_calls":true,"wants_sms":true,"wants_direct_mail":true,"unsubscribe_reason":null,"unsubscribed_at":null,"exclude_referral_marketing":0,"exclude_retention_marketing":0,"auto_review_id":null,"auto_review_draft_key":null,"created_at":"2015-11-30T22:39:53Z","updated_at":"2015-11-30T22:39:53Z"}'
http_version:
recorded_at: Mon, 30 Nov 2015 22:39:54 GMT
recorded_with: VCR 3.0.0