--- http_interactions: - request: method: post uri: http://example.com/ body: encoding: UTF-8 string: '{"foo":"bar"}' headers: Connection: - close Content-Type: - application/json Host: - example.com User-Agent: - http.rb/0.9.8 response: status: code: 200 message: OK headers: Accept-Ranges: - bytes Cache-Control: - max-age=604800 Content-Type: - text/html Date: - Fri, 11 Mar 2016 10:16:02 GMT Etag: - '"359670651"' Expires: - Fri, 18 Mar 2016 10:16:02 GMT Last-Modified: - Fri, 09 Aug 2013 23:54:35 GMT Server: - EOS (lax004/45C0) Content-Length: - '1270' Connection: - close body: encoding: UTF-8 string: "\n\n
\nThis domain is established to be used for illustrative examples in documents. You may use this\n domain in examples without prior coordination or asking for permission.
\n \n