--- http_interactions: - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"user.authenticate","params":{"user":"Admin","password":"zabbix"},"auth":null,"id":41380,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 03:52:12 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '72' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":"8760338ef8f6aeed1d347a5d28a6766d","id":41380}' http_version: recorded_at: Thu, 14 May 2015 11:23:32 GMT - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"apiinfo.version","params":{},"auth":"8760338ef8f6aeed1d347a5d28a6766d","id":28070,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 03:52:12 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '45' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":"2.2.2","id":28070}' http_version: recorded_at: Thu, 14 May 2015 11:23:32 GMT - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"user.authenticate","params":{"user":"Admin","password":"zabbix"},"auth":"8760338ef8f6aeed1d347a5d28a6766d","id":59523,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 03:52:12 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '72' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":"746ef047a43d32dffc6b5e42fdb87ff8","id":59523}' http_version: recorded_at: Thu, 14 May 2015 11:23:32 GMT recorded_with: VCR 2.9.3