--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://<USER>:<PASS>@<URL>:80/virtual_machines/404/firewall_rules.json?firewall_rule%5Bcommand%5D=DROP&firewall_rule%5Bprotocol%5D=TCP&firewall_rule%5Bnetwork_interface_id%5D=1 body: headers: content-type: - application/json authorization: - Basic <REDACTED> response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 404 message: Not Found headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 date: - Mon, 13 Feb 2012 21:47:22 GMT server: - Apache/2.2.3 (CentOS) x-runtime: - "0.025134" set-cookie: - <REDACTED> cache-control: - no-cache status: - "404" transfer-encoding: - chunked body: "{\"errors\":[\"Resource not found\"]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://<USER>:<PASS>@<URL>:80/virtual_machines/1/firewall_rules.json?firewall_rule%5Bcommand%5D=DROP&firewall_rule%5Bprotocol%5D=TCP&firewall_rule%5Bnetwork_interface_id%5D=1 body: headers: content-type: - application/json authorization: - Basic <REDACTED> response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.033919" server: - Apache/2.2.3 (CentOS) date: - Mon, 13 Feb 2012 21:47:23 GMT set-cookie: - <REDACTED> status: - "201" cache-control: - no-cache transfer-encoding: - chunked body: "{\"firewall_rule\":{\"address\":null,\"position\":1,\"created_at\":\"2012-02-13T21:47:23Z\",\"command\":\"DROP\",\"port\":null,\"updated_at\":\"2012-02-13T21:47:23Z\",\"protocol\":\"TCP\",\"id\":3,\"network_interface_id\":1341}}" http_version: "1.1"