--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=listftpsessions&cpanel_jsonapi_module=Ftp&cpanel_jsonapi_user=lumberg body: encoding: US-ASCII string: '' headers: Authorization: - WHM root:iscool User-Agent: - Faraday v0.8.8 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - cpsrvd/11.36.2.0 X-Keep-Alive-Count: - '1' Connection: - Keep-Alive Keep-Alive: - timeout=70, max=200 Date: - Fri, 25 Oct 2013 13:23:46 GMT Content-Type: - text/plain; charset="utf-8" Content-Length: - '226' body: encoding: UTF-8 string: | {"cpanelresult":{"data":[{"status":"IDLE","login":"Fri Oct 25 08:23:24 2013","cmdline":"pure-ftpd (IDLE) ","pid":"7667","file":"","user":"moo@blah.com","host":"124.195.196.55"}],"func":"listftpsessions","module":"Ftp","event":{"result":1},"apiversion":2}} http_version: recorded_at: Fri, 25 Oct 2013 13:23:46 GMT recorded_with: VCR 2.4.0