--- http_interactions: - request: method: post uri: https://medlink.planning-de-garde.fr/api/emails body: encoding: UTF-8 string: '{"email":{"value":"test@domain.fr","source":"rspec"},"user":{"id":1,"first_name":"Julien","last_name":"Vilbert","profession":{"name":"Interne"}}}' headers: User-Agent: - Faraday v0.9.2 Authorization: - Token token="b12186d9d390fc2d9df5d6869fc0c008" Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Date: - Thu, 04 Feb 2016 13:46:25 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - __cfduid=ded7d85e17eaf4fda818ef89c88c09b451454593584; expires=Fri, 03-Feb-17 13:46:24 GMT; path=/; domain=.planning-de-garde.fr; HttpOnly X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Etag: - W/"048ddd4ed209168eb32d6cb847b79777" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 201585e2-93eb-471e-ae0b-44b19ab09760 X-Runtime: - '0.199872' Vary: - Accept-Encoding Via: - 1.1 vegur Server: - cloudflare-nginx Cf-Ray: - 26f6d25115ff014d-CDG body: encoding: UTF-8 string: '{"id":387,"value":"test@domain.fr","source":"rspec","verified":false,"user":{"id":1,"rpps":null,"first_name":"Julien","last_name":"Vibert","birthdate":"1990-07-16","ecn_year":2015,"ecn_ranking":1,"internat_end_year":2020,"finess_to_match":null,"institution_name":null,"city":{"id":1,"name":"Paris"},"speciality":{"id":1,"name":"Oncologie médicale","duration":5},"profession":{"id":1,"code":"5","name":"Interne"},"institution":null}}' http_version: recorded_at: Thu, 04 Feb 2016 13:46:25 GMT recorded_with: VCR 3.0.1