--- http_interactions: - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=created@example.com&key=%{API_KEY}&method=Contact_Add&optionalParameters%5BupdateCustomFields%5D=true body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=bba2310688a4342395a2263dc8feafb6; path=/ Expires: - Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: - no-cache Content-Type: - text/plain;charset=UTF-8 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:19:29 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:19:29 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=created@example.com&key=%{API_KEY}&method=Contact_Get&optionalParameters%5BgetAllCustomFields%5D=true body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=f793c2d4f16c51c107512393453e4c39; path=/ Expires: - Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: - no-cache Content-Type: - text/plain;charset=UTF-8 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:19:29 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"created@example.com":{"contactId":"4","email":"created@example.com","source":"API 2 Contact_Add","status":"active","customFields":{"first_name":"","last_name":"","email_address":"created@example.com"}}}' http_version: recorded_at: Wed, 20 Feb 2013 05:19:29 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=created@example.com&key=%{API_KEY}&method=Contact_Delete body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=957eab94a73e5275b0ad435729a4a351; path=/ Expires: - Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: - no-cache Content-Type: - text/plain;charset=UTF-8 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:19:29 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:19:29 GMT recorded_with: VCR 2.4.0