--- http_interactions: - request: method: post uri: https://sendgrid.com/apiv2/customer.apps.json body: encoding: US-ASCII string: user=sendgrid_testuser3&name=eventnotify&processed=1&dropped=1&deferred=1&delivered=1&bounce=1&click=1&open=1&unsubscribe=1&spamreport=1&url=http%3A%2F%2Fyourdomain.com%2Fevent.php&task=setup&api_user=kyle%40agencieshq.com&api_key=pass headers: User-Agent: - Faraday v0.8.9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - nginx/1.4.2 Date: - Fri, 17 Jan 2014 01:27:48 GMT Content-Type: - application/json Content-Length: - '46' Connection: - keep-alive X-Powered-By: - PHP/5.3.2-1ubuntu4.22 Cache-Control: - no-cache, must-revalidate Expires: - '0' Set-Cookie: - sendgrid_frontend=df8b5389cf476f9b4e09ffc9b8db8c5d:30700d2a3499557b6ed317a004b93fa65fa95cbb; expires=Sun, 16-Feb-2014 01:27:48 GMT; path=/; httponly Vary: - Accept-Encoding body: encoding: UTF-8 string: '{"message":"success"}' http_version: recorded_at: Fri, 17 Jan 2014 01:27:48 GMT - request: method: get uri: https://sendgrid.com/apiv2/customer.apps.json?api_key=pass&api_user=user&name=eventnotify&task=getsettings&user=sendgrid_testuser3 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.8.9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - nginx/1.4.2 Date: - Fri, 17 Jan 2014 01:27:51 GMT Content-Type: - application/json Content-Length: - '159' Connection: - keep-alive X-Powered-By: - PHP/5.3.2-1ubuntu4.22 Cache-Control: - no-cache, must-revalidate Expires: - '0' Set-Cookie: - sendgrid_frontend=2a834f0d4ef110386049a1cb8884cb77:9f1efb3a14a4a9d0ff69bc6bcd554773453b4f21; expires=Sun, 16-Feb-2014 01:27:50 GMT; path=/; httponly Vary: - Accept-Encoding body: encoding: UTF-8 string: '{"settings":{"processed":"1","dropped":"1","deferred":"1","delivered":"1","bounce":"1","click":"1","open":"1","unsubscribe":"1","subscribe":"","spamreport":"1","url":"http:\/\/yourdomain.com\/event.php","batch":"","version":"3"}}' http_version: recorded_at: Fri, 17 Jan 2014 01:27:51 GMT recorded_with: VCR 2.8.0