--- http_interactions: - request: method: post uri: https://medlink.planning-de-garde.fr/api/users/search body: encoding: UTF-8 string: '{"first_name":"Julien","last_name":"Vibert"}' 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:27:14 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - __cfduid=d01a48cb8cd45235cce70fa8d7b5b2f411454592432; expires=Fri, 03-Feb-17 13:27:12 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/"0fc8168fe7a7b311612d9e70273dc87a" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 01251cd0-8614-41cb-acf0-00a2cb623e95 X-Runtime: - '1.643535' Vary: - Accept-Encoding Via: - 1.1 vegur Server: - cloudflare-nginx Cf-Ray: - 26f6b62f22f9048b-CDG body: encoding: UTF-8 string: '[{"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},{"id":261054,"rpps":"810100584142","first_name":"Julien","last_name":"Vibert","birthdate":null,"ecn_year":null,"ecn_ranking":null,"internat_end_year":null,"finess_to_match":null,"institution_name":"","city":null,"speciality":{"id":34,"name":"Spécialiste en Médecine Générale","duration":5},"profession":{"id":2,"code":"10","name":"Médecin"},"institution":null}]' http_version: recorded_at: Thu, 04 Feb 2016 13:27:14 GMT recorded_with: VCR 3.0.1